Class TypedEntityRelationAttribute
Version: 3.2
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
RequestResponse
public class TypedEntityRelationAttribute : AttributeConstructors
TypedEntityRelationAttribute(string)
Initializes a new instance of the TypedEntityRelationAttribute class.
Declaration
RequestResponse
public TypedEntityRelationAttribute(string relationName)Parameters
| Type | Name | Description |
|---|---|---|
| string | relationName |
The relation name. |
Properties
RelationName
Gets the property name.
Declaration
RequestResponse
public string RelationName { get; }Property Value
| Type | Description |
|---|---|
| string |