MetadataWorkspaceExtensions.GetEntityType Method (RelationshipEndMember)
Retrieves the EntityType on an AssociationEnd.
Assembly: Microsoft.Data.Entity.Design.DatabaseGeneration (in Microsoft.Data.Entity.Design.DatabaseGeneration.dll)
[SuppressMessageAttribute("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")] public static EntityType GetEntityType( this RelationshipEndMember end )
Parameters
- end
-
Type:
System.Data.Entity.Core.Metadata.Edm.RelationshipEndMember
The AssociationEnd.
Exception | Condition |
---|---|
InvalidOperationException | if there was an error parsing this end's TypeUsage |