Share via


ReferentialConstraint.ToRole Property

Definition

Gets the "to role" that takes part in this ReferentialConstraint.

public System.Data.Entity.Core.Metadata.Edm.RelationshipEndMember ToRole { get; set; }
member this.ToRole : System.Data.Entity.Core.Metadata.Edm.RelationshipEndMember with get, set
Public Property ToRole As RelationshipEndMember

Property Value

A RelationshipEndMember object that represents the "to role" that takes part in this ReferentialConstraint .

Exceptions

Thrown if value passed into setter is null

Thrown if the ReferentialConstraint instance is in ReadOnly state

Applies to