Class ObjectPatternAttribute
This attribute indicates that a type within a relation belongs to an object pattern.
Namespace: Xareus.Relations.Unity
Assembly: Xareus.Relations.Unity.dll
Syntax
[AttributeUsage(AttributeTargets.Field)]
public class ObjectPatternAttribute : Attribute
Constructors
ObjectPatternAttribute(string, string, string)
Declaration
public ObjectPatternAttribute(string objectPatternId, string typeId, string description = "")
Parameters
| Type | Name | Description |
|---|---|---|
| string | objectPatternId | |
| string | typeId | |
| string | description |
Fields
description
Description of what this object pattern type is for
Declaration
public string description
Field Value
| Type | Description |
|---|---|
| string |
objectPatternId
The identifier of the object pattern w/r/t/ the relation
Declaration
public string objectPatternId
Field Value
| Type | Description |
|---|---|
| string |
typeId
The identifier of the type w/r/t/ the object pattern
Declaration
public string typeId
Field Value
| Type | Description |
|---|---|
| string |