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