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