2 writes to _relationshipSet
System.Data.Entity (2)
System\Data\Objects\DataClasses\RelatedEnd.cs (2)
2339this._relationshipSet = relationshipSet; 2460this._relationshipSet = null;
19 references to _relationshipSet
System.Data.Entity (19)
System\Data\Objects\DataClasses\RelatedEnd.cs (19)
248return this._relationshipSet; 381Debug.Assert(_relationshipSet != null, "If we are attached to a context, we should have a relationship set."); 390Debug.Assert(_relationshipSet.BuiltInTypeKind == BuiltInTypeKind.AssociationSet, "Non-AssociationSet Relationship Set?"); 393EntitySet ownerEntitySet = ((AssociationSet)_relationshipSet).AssociationSetEnds[_fromEndProperty.Name].EntitySet; 394EntitySet targetEntitySet = ((AssociationSet)_relationshipSet).AssociationSetEnds[_toEndProperty.Name].EntitySet; 513sourceBuilder.Append(_relationshipSet.EntityContainer.Name); 515sourceBuilder.Append(_relationshipSet.Name); 1103Debug.Assert(_relationshipSet != null, 1106if ((((AssociationSet)_relationshipSet).AssociationSetEnds[_navigation.To] != null) && 1107(((AssociationSet)_relationshipSet).AssociationSetEnds[_navigation.To].EntitySet != set)) 1109throw EntityUtil.EntitySetIsNotValidForRelationship(set.EntityContainer.Name, set.Name, _navigation.To, _relationshipSet.EntityContainer.Name, _relationshipSet.Name); 1440MarkRelationshipAsDeletedInObjectStateManager(wrappedEntity, _wrappedOwner, _relationshipSet, _navigation); 1765RemoveRelationshipFromObjectStateManager(wrappedEntity, _wrappedOwner, _relationshipSet, _navigation); 1774RemoveRelationshipFromObjectStateManager(wrappedEntity, _wrappedOwner, _relationshipSet, _navigation); 1785return this._context.ObjectStateManager.FindRelationship(_relationshipSet, 2022DetachRelationshipFromObjectStateManager(wrappedEntity, _wrappedOwner, _relationshipSet, _navigation); 2135AssociationSet associationSet = (AssociationSet)_relationshipSet; 2160new RelationshipWrapper((AssociationSet)_relationshipSet,