SingleField.Factory method
namespace: Serenity.Data assembly: Serenity.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
- class Field
- class LocalText
- enum FieldFlags
- interface IRow
- class SingleField