18 references to GetEntityTypeForEnd
System.Data.Entity (18)
System\Data\Common\Utils\MetadataHelper.cs (1)
280EntityType fromType = GetEntityTypeForEnd(fromEnd.CorrespondingAssociationEndMember);
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (2)
298EntityType dependentType = MetadataHelper.GetEntityTypeForEnd((AssociationEndMember)rc.ToRole); 299EntityType principalType = MetadataHelper.GetEntityTypeForEnd((AssociationEndMember)rc.FromRole);
System\Data\Mapping\StorageMappingItemLoader.cs (2)
537MetadataHelper.GetEntityTypeForEnd(MetadataHelper.GetOppositeEnd(actualEnd).CorrespondingAssociationEndMember).FullName), 1425IEnumerable<EdmMember> dependentKeys = MetadataHelper.GetEntityTypeForEnd((AssociationEndMember)constraint.ToRole).KeyMembers;
System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (1)
105if (!MetadataHelper.GetEntityTypeForEnd(toEnd.CorrespondingAssociationEndMember)
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (2)
231EntityType dependentType = MetadataHelper.GetEntityTypeForEnd((AssociationEndMember)constraint.ToRole); 240EntityType principalType = MetadataHelper.GetEntityTypeForEnd((AssociationEndMember)constraint.FromRole);
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (1)
488MetadataHelper.GetEntityTypeForEnd(assocEndMember));
System\Data\Mapping\ViewGeneration\Validation\ExtentKey.cs (1)
86EntityType entityType = MetadataHelper.GetEntityTypeForEnd(endMember);
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (2)
470EntityType sourceEntityType = MetadataHelper.GetEntityTypeForEnd(sourceMember); 471EntityType targetEntityType = MetadataHelper.GetEntityTypeForEnd(targetMember);
System\Data\Objects\DataClasses\RelatedEnd.cs (3)
396EntityType targetEntityType = MetadataHelper.GetEntityTypeForEnd((AssociationEndMember)_toEndProperty); 2609EntityType sourceEntityType = MetadataHelper.GetEntityTypeForEnd(sourceEnd); 2616EntityType targetEntityType = MetadataHelper.GetEntityTypeForEnd(targetEnd);
System\Data\Objects\DataClasses\RelationshipManager.cs (1)
492EntityType sourceEntityType = MetadataHelper.GetEntityTypeForEnd(sourceEnd);
System\Data\Objects\EntityEntry.cs (2)
162EntityType dependentType = MetadataHelper.GetEntityTypeForEnd((AssociationEndMember)constraint.ToRole); 179EntityType dependentType = MetadataHelper.GetEntityTypeForEnd((AssociationEndMember)constraint.FromRole);