17 references to ParentElement
System.Data.Entity (17)
System\Data\EntityModel\SchemaObjectModel\EntityContainer.cs (6)
412
System.Data.Entity.Strings.SimilarRelationshipEnd(alreadyValidatedEnd.Name, alreadyValidatedEnd.
ParentElement
.Name,
413
currentSetEnd.
ParentElement
.Name, alreadyValidatedEnd.EntitySet.Name, this.FQName));
550
Debug.Assert(left.
ParentElement
.ParentElement == right.
ParentElement
.ParentElement, "both end should belong to the same entity container");
553
object.ReferenceEquals(left.
ParentElement
.Relationship, right.
ParentElement
.Relationship) &&
System\Data\EntityModel\SchemaObjectModel\EntityContainerAssociationSetEnd.cs (10)
85
IRelationship relationship =
ParentElement
.Relationship;
109
IRelationship relationship =
ParentElement
.Relationship;
135
if (
ParentElement
.Relationship == null )
141
foreach ( IRelationshipEnd end in
ParentElement
.Relationship.Ends )
158
set.Name, this.
ParentElement
.Name,
ParentElement
.Relationship.FQName, set.EntityType.FQName, this.
ParentElement
.ParentElement.FQName ) );
165
set.Name, this.
ParentElement
.Name,
ParentElement
.Relationship.FQName, set.EntityType.FQName, this.
ParentElement
.ParentElement.FQName));
System\Data\EntityModel\SchemaObjectModel\EntityContainerRelationshipSetEnd.cs (1)
105
_entitySet = this.
ParentElement
.ParentElement.FindEntitySet( _unresolvedEntitySetName );