Share via


ReferentialConstraint.FromRole Property

Definition

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

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

Property Value

A RelationshipEndMember object that represents the "from 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