EmitNameAttribute class

namespace: Serenity.Data   assemblySerenity.Net.Data

Declares that the property generated for this template property should have the specified name, instead of the auto generated one.

[AttributeUsage(AttributeTargets.Property, Inherited = false)]
public class EmitNameAttribute : Attribute

Public Members

name description
EmitNameAttribute(…) Creates an instance of EmitNameAttribute attribute
Name { get; } The property name

See Also