4 writes to FromEndMember
System.Data.Entity (4)
System\Data\Metadata\Converter.cs (1)
834
navigationProperty.
FromEndMember
= (RelationshipEndMember)relationshipType.Members[somNavigationProperty.FromEnd.Name];
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (2)
566
navigationProperty.
FromEndMember
= (RelationshipEndMember)relationshipType.Members[1];
571
navigationProperty.
FromEndMember
= (RelationshipEndMember)relationshipType.Members[0];
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (1)
547
navigationProperty.
FromEndMember
= (RelationshipEndMember)((RelationshipType)ospaceRelationship).Members.First(e => e.Name == cspaceProperty.FromEndMember.Name);
27 references to FromEndMember
System.Data.Entity (14)
System\Data\Mapping\BaseMetadataMappingVisitor.cs (1)
150
Visit(navigationProperty.
FromEndMember
);
System\Data\Metadata\Edm\EntityType.cs (3)
215
navProperty.
FromEndMember
.Name == fromName &&
335
navProperty.
FromEndMember
.Name + "*" +
336
navProperty.
FromEndMember
.RelationshipMultiplicity + "*" +
System\Data\Metadata\Edm\NavigationProperty.cs (1)
152
if (dependentEndMember.EdmEquals(this.
FromEndMember
))
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (3)
581
((RefType)navigationProperty.
FromEndMember
.TypeUsage.EdmType).ElementType.ClrType != declaringType.ClrType)
587
navigationProperty.
FromEndMember
.Name,
588
((RefType)navigationProperty.
FromEndMember
.TypeUsage.EdmType).ElementType.ClrType), navigationProperty));
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (1)
547
navigationProperty.FromEndMember = (RelationshipEndMember)((RelationshipType)ospaceRelationship).Members.First(e => e.Name == cspaceProperty.
FromEndMember
.Name);
System\Data\Objects\EntityEntry.cs (1)
2186
RelatedEnd otherRelatedEnd = relatedWrapper.RelationshipManager.GetRelatedEndInternal(n.RelationshipType.FullName, n.
FromEndMember
.Name);
System\Data\Query\InternalTrees\Command.cs (2)
925
RelProperty relProperty = new RelProperty(navProp.RelationshipType, navProp.
FromEndMember
, navProp.ToEndMember);
927
RelProperty inverseRelProperty = new RelProperty(navProp.RelationshipType, navProp.ToEndMember, navProp.
FromEndMember
);
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
1225
DbExpression navigationExpression = navigationSource.Navigate(navigationProperty.
FromEndMember
, navigationProperty.ToEndMember);
System\Data\Query\PlanCompiler\PreProcessor.cs (1)
975
RelProperty relProperty = new RelProperty(navProperty.RelationshipType, navProperty.
FromEndMember
, navProperty.ToEndMember);
System.Data.Entity.Design (1)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (1)
418
_writer.WriteAttributeString(XmlConstants.FromRole, member.
FromEndMember
.Name);
System.Data.Services (5)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (5)
132
AssociationSetEnd setEnd = associationSet.AssociationSetEnds[sourceNavigationProperty.
FromEndMember
.Name];
158
if (navProperty.ToEndMember == sourceNavigationProperty.
FromEndMember
)
1017
navigationProperty.
FromEndMember
);
1485
if (p.
FromEndMember
== member)
1745
xmlWriter.WriteAttributeString(XmlConstants.FromRole, navProperty.
FromEndMember
.Name);
System.Web.DynamicData (7)
DynamicData\ModelProviders\EFAssociationProvider.cs (6)
36
if (navigationProperty.
FromEndMember
.RelationshipMultiplicity == RelationshipMultiplicity.Many) {
44
if (navigationProperty.
FromEndMember
.RelationshipMultiplicity == RelationshipMultiplicity.Many) {
83
navigationProperty.
FromEndMember
.RelationshipMultiplicity == RelationshipMultiplicity.One) ||
85
navigationProperty.
FromEndMember
.RelationshipMultiplicity == RelationshipMultiplicity.ZeroOrOne);
105
navigationProperty.
FromEndMember
.RelationshipMultiplicity == RelationshipMultiplicity.One) {
119
return navigationProperty.
FromEndMember
.GetEntityType().KeyMembers.Select(m => m.Name);
DynamicData\ModelProviders\EFColumnProvider.cs (1)
38
long key = EFAssociationProvider.BuildRelationshipKey(entityType, navProp.
FromEndMember
);