EmitNameAttribute class
namespace: Serenity.Data assembly: Serenity.Net.Services
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
| parameter | description |
|---|---|
| name | Property name to use for this property in generated source. |
Public Members
| name | description |
|---|---|
| EmitNameAttribute(…) | Declares that the property generated for this template property should have the specified name, instead of the auto generated one. |
| Name { get; } | The property name |
Remarks
Creates an instance of EmitNameAttribute attribute
See Also
- Source: EmitNameAttribute.cs