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

Class TypedEntityPropertyAttribute

By default the entity property name is inferred from the declared property name. If that name is not suitable, this attribute allows to specify an alternate name.

Inheritance

object

TypedEntityPropertyAttribute

Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsTypedAttributes

Assembly: Stylelabs.M.Sdk.dll

Syntax

public class TypedEntityPropertyAttribute : Attribute

Constructors

TypedEntityPropertyAttribute(string)

Initializes a new instance of the TypedEntityPropertyAttribute class.

Declaration

public TypedEntityPropertyAttribute(string propertyName)

Parameters

TypeNameDescription
stringpropertyNameThe property name.

Properties

PropertyName

Gets the property name.

Declaration

public string PropertyName { get; }

Property Value

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