SingleField.Factory method

namespace: Serenity.Data   assemblySerenity.Net.Entity

Static factory for field, for backward compatibility, avoid using.

public static SingleField Factory(ICollection<Field> collection, string name, LocalText caption, 
    int size, FieldFlags flags, Func<IRow, float?> getValue, Action<IRow, float?> setValue)
parameter description
collection The collection.
name The name.
caption The caption.
size The size.
flags The flags.
getValue The get value.
setValue The set value.

See Also