RelationshipInfo Constructor |
Initializes a new instance of the RelationshipInfo type.
Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public RelationshipInfo( RelationshipKind itemsRelationship, RelationshipKind relationship = RelationshipKind.Child )
Parameters
- itemsRelationship
- Type: PostSharp.Patterns.Model.RelationshipKind
The kind of relationship of items of the child collection relatively to the child collection. - relationship (Optional)
- Type: PostSharp.Patterns.Model.RelationshipKind
The kind of relationship of the child relatively to the parent. Valid values are Child, ParentSurrogate or ChildOrParentSurrogate.