Class FieldRule
Exposes a method GetRelationshipInfo(FieldInfo) that allows to mark a field as Child or Reference programmatically, without custom attribute.
Namespace: PostSharp.Patterns.Model.TypeAdapters
Assembly: PostSharp.Patterns.Aggregation.dll
Syntax
public abstract class FieldRule : Object
Constructors
Name | Description |
---|---|
FieldRule() |
Methods
Name | Description |
---|---|
GetRelationshipInfo(FieldInfo) | Gets the RelationshipInfo of a given field. |