EmitFieldTypeAttribute class
namespace: Serenity.Data assembly: Serenity.Net.Services
Declares that the field generated for this template property should be of type specified.
[AttributeUsage(AttributeTargets.Property, Inherited = false)]
public class EmitFieldTypeAttribute : Attribute
| parameter | description |
|---|---|
| fieldType | Field type to use for this property in generated source. |
Public Members
| name | description |
|---|---|
| EmitFieldTypeAttribute(…) | Declares that the field generated for this template property should be of type specified. |
| FieldType { get; } | The field type |
Remarks
Creates an instance of FieldTypeAttribute attribute
See Also
- Source: EmitFieldTypeAttribute.cs