PostSharp 5.0 / / 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
  NameDescription
Public propertyItemsRelationship
Gets the kind of relationship of items of the child collection relatively to the child collection.
Public propertyPropagateBehaviors
Specifies whether behaviors of the parent should be propagated to objects assigned to the field.
Public propertyPropagateBehaviorsToItems
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 propertyRelationship
Gets the kind of relationship of the child relatively to the parent. Valid values are Child, ParentSurrogate or ChildOrParentSurrogate.
See Also