Class TypedEntityRelationAttribute
By default the entity relation name is inferred from the declared property name. If that name is not suitable, this attribute allows to specify an alternate name.
Inheritance
object
TypedEntityRelationAttribute
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsTypedAttributes
Assembly: Stylelabs.M.Sdk.dll
Syntax
Constructors
TypedEntityRelationAttribute(string)
Initializes a new instance of the TypedEntityRelationAttribute class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | relationName |
The relation name. |
Properties
RelationName
Gets the property name.
Declaration
Property Value
| Type | Description |
|---|---|
| string |