PostSharpAPI ReferencePost­Sharp.​Patterns.​ModelRelationship­InfoRelationship­Info
Open sandboxFocus

RelationshipInfo Constructor

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.