ItemsRelationship
Gets or sets the kind of relationship between items.
Declaration
public RelationshipKind ItemsRelationship { get; set; }Property Value
| Type | Description |
|---|---|
| RelationshipKind |
Remarks
By default, the items of a child collection are children of the declaring instance. Set this property to Reference when the collection itself belongs to the declaring instance but its items do not, for example a collection of related entities whose changes must still be recorded. VisitChildren(ChildVisitor, ChildVisitorOptions, object) does not visit the items of such a collection.