2 writes to _relationMetadata
System.Data.Entity (2)
System\Data\Objects\DataClasses\RelatedEnd.cs (2)
2340
this.
_relationMetadata
= (RelationshipType)relationshipType;
2463
this.
_relationMetadata
= null;
8 references to _relationMetadata
System.Data.Entity (8)
System\Data\Objects\DataClasses\RelatedEnd.cs (8)
145
Debug.Assert(this.
_relationMetadata
!= null, "this._relationMetadata == null");
147
return ((AssociationType)
_relationMetadata
).IsForeignKey;
256
return this.
_relationMetadata
;
391
AssociationType associationMetadata = (AssociationType)
_relationMetadata
;
1484
if (null !=
_relationMetadata
)
1519
if (null !=
_relationMetadata
)
1523
foreach (ReferentialConstraint constraint in ((AssociationType)
_relationMetadata
).ReferentialConstraints)
2361
foreach (AssociationEndMember relationEnd in ((AssociationType)
_relationMetadata
).AssociationEndMembers) //Only Association relationship is supported