public IsIdentifyingRelationship ( System.Data.Metadata.Edm.AssociationType association ) : bool | ||
association | System.Data.Metadata.Edm.AssociationType | |
return | bool |
public bool IsIdentifyingRelationship(AssociationType association)
{
if (association == null)
{
throw new ArgumentNullException("association");
}
return IsPrincipalEndOfIdentifyingRelationship(association.AssociationEndMembers[0]) || IsPrincipalEndOfIdentifyingRelationship(association.AssociationEndMembers[1]);
}