EmitNameAttribute class
namespace: Serenity.Data assembly: Serenity.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
- Source: EmitNameAttribute.cs