CustomClassField<TValue> constructor
namespace: Serenity.Data assembly: Serenity.Net.Services
Base class for custom fields with reference type values
public CustomClassField(ICollection<Field> collection, string name, LocalText caption, int size,
FieldFlags flags, Func<IRow, TValue> getValue, Action<IRow, TValue> setValue)
| parameter | description |
|---|---|
| TValue | The type of the value. |
| collection | The collection. |
| name | The name. |
| caption | The caption. |
| size | The size. |
| flags | The flags. |
| getValue | The get value. |
| setValue | The set value. |
Remarks
Initializes a new instance of the CustomClassField class.
See Also
- class GenericClassField<TValue>
- class Field
- class LocalText
- enum FieldFlags
- interface IRow
- class TValue
- class CustomClassField<TValue>