14 references to GetEntityType
System.Data.Entity (12)
System\Data\Mapping\StorageModificationFunctionMapping.cs (1)
216
(constraint.ToRole.
GetEntityType
().IsAssignableFrom(entityType)))
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (1)
447
var pkColumns = pkFkInfo.Item2.ToRole.
GetEntityType
().KeyMembers;
System\Data\Mapping\ViewGeneration\ViewgenContext.cs (1)
143
oneToOneForeignKeyAssociationsForThisWrapper = oneToOneForeignKeyAssociationsForThisWrapper.Where(it => (it.AssociationEndMembers.All(endMember => entityTypes.Contains(endMember.
GetEntityType
()))));
System\Data\Metadata\Edm\EntitySet.cs (4)
143
if (constraint.ToRole.
GetEntityType
().IsAssignableFrom(this.ElementType) ||
144
this.ElementType.IsAssignableFrom(constraint.ToRole.
GetEntityType
()))
149
if (constraint.FromRole.
GetEntityType
().IsAssignableFrom(this.ElementType) ||
150
this.ElementType.IsAssignableFrom(constraint.FromRole.
GetEntityType
()))
System\Data\Metadata\Edm\NavigationProperty.cs (1)
155
var keyMembers = rc.FromRole.
GetEntityType
().KeyMembers;
System\Data\Objects\DataClasses\RelatedEnd.cs (2)
1494
EntityType entityType = constraint.ToRole.
GetEntityType
();
1527
EntityType entityType = constraint.ToRole.
GetEntityType
();
System\Data\Objects\DataClasses\RelationshipManager.cs (2)
742
EntityType end2EntityType = ((AssociationType)assocSet.ElementType).AssociationEndMembers[1].
GetEntityType
();
748
EntityType end1EntityType = ((AssociationType)assocSet.ElementType).AssociationEndMembers[0].
GetEntityType
();
System.Web.DynamicData (2)
DynamicData\ModelProviders\EFAssociationProvider.cs (2)
17
EntityType otherEntityType = navigationProperty.ToEndMember.
GetEntityType
();
119
return navigationProperty.FromEndMember.
GetEntityType
().KeyMembers.Select(m => m.Name);