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
RequestResponse
public class TypedEntityRelationAttribute : Attribute

Constructors

TypedEntityRelationAttribute(string)

Initializes a new instance of the TypedEntityRelationAttribute class.

Declaration
RequestResponse
public TypedEntityRelationAttribute(string relationName)
Parameters
TypeNameDescription
stringrelationName

The relation name.

Properties

RelationName

Gets the property name.

Declaration
RequestResponse
public string RelationName { get; }
Property Value
TypeDescription
string

Do you have some feedback for us?

If you have suggestions for improving this article,