1. Stylelabs.M.Sdk.Models.Typed.Attributes

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

public class TypedEntityRelationAttribute : Attribute

Constructors

TypedEntityRelationAttribute(string)

Initializes a new instance of the TypedEntityRelationAttribute class.

Declaration

public TypedEntityRelationAttribute(string relationName)

Parameters

TypeNameDescription
stringrelationNameThe relation name.

Properties

RelationName

Gets the property name.

Declaration

public string RelationName { get; }

Property Value

TypeDescription
string
If you have suggestions for improving this article, let us know!