ListField<TItem> constructor

namespace: Serenity.Data   assemblySerenity.Net.Services

Field with a list value

public ListField(ICollection<Field> collection, string name, LocalText caption = null, 
    int size = 0, FieldFlags flags = FieldFlags.NotMapped | FieldFlags.Default, 
    Func<IRow, List<TItem>> getValue = null, Action<IRow, List<TItem>> setValue = null)
parameter description
TItem The type of the item.
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 ListField class.

See Also