GenericField<TValue> constructor
namespace: Serenity.Data assembly: Serenity.Net.Entity
Initializes a new instance of the GenericField
class.
public GenericField(ICollection<Field> collection, FieldType type, string name, string caption,
int size, FieldFlags flags, Func<IRow, TValue> getValue, Action<IRow, TValue> setValue)
parameter | description |
---|---|
collection | The collection. |
type | The type. |
name | The name. |
caption | The caption. |
size | The size. |
flags | The flags. |
getValue | The get value. |
setValue | The set value. |
See Also
- class Field
- enum FieldType
- enum FieldFlags
- interface IRow
- class TValue
- class GenericField<TValue>