PostSharp//API Reference/Post­Sharp.​Patterns.​Model/Relationship­Info/Relationship­Info
Open sandboxFocus

Constructor RelationshipInfo

RelationshipInfo(RelationshipKind, RelationshipKind)

Initializes a new instance of the RelationshipInfo type.

public RelationshipInfo(RelationshipKind itemsRelationship, RelationshipKind relationship)
Type Name Description
RelationshipKind itemsRelationship

The kind of relationship of items of the child collection relatively to the child collection.

RelationshipKind relationship

The kind of relationship of the child relatively to the parent. Valid values are Child, ParentSurrogate or ChildOrParentSurrogate.