Open sandboxFocus

Property DefaultItemRelationship

DefaultItemRelationship

Gets or sets the default kind of relationship for collection items.

Declaration
public RelationshipKind DefaultItemRelationship { get; set; }
Property Value
Type Description
RelationshipKind
Remarks

If the target class of the AggregatableAttribute aspect is a collection class, the DefaultItemRelationship property applies to items of this collection. Otherwise, the property applies to items of collection children. In this case, the value of this property can be overwritten by the ItemsRelationship property of the ChildAttribute custom attribute.

The default value of this property is Default, which is interpreted as Child.