GenericField<TValue> constructor

namespace: Serenity.Data   assemblySerenity.Net.Services

Base generic class for fields with a value

protected GenericField(ICollection<Field> collection, FieldType type, string name, string caption, 
    int size, FieldFlags flags, Func<IRow, TValue> getValue, Action<IRow, TValue> setValue)
parameter description
TValue The type of the value.
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.

Remarks

Initializes a new instance of the GenericField class.

See Also