PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Model Namespace / Relationship­Info Structure / Relationship­Info Properties
RelationshipInfo Properties

The RelationshipInfo type exposes the following members.

Properties
  Name Description
Public property ItemsRelationship
Gets the kind of relationship of items of the child collection relatively to the child collection.
Public property PropagateBehaviors
Specifies whether behaviors of the parent should be propagated to objects assigned to the field.
Public property PropagateBehaviorsToItems
Specifies whether behaviors of the parent should be propagated to objects added to collections assigned to this field. This property is ignored if PropagateBehaviors is false.
Public property Relationship
Gets the kind of relationship of the child relatively to the parent. Valid values are Child, ParentSurrogate or ChildOrParentSurrogate.
See Also