StreamField.Factory method
namespace: Serenity.Data assembly: Serenity.Net.Entity
Static factory for field, for backward compatibility, avoid using.
public static StreamField Factory(ICollection<Field> collection, string name, LocalText caption,
int size, FieldFlags flags, Func<IRow, Stream> getValue, Action<IRow, Stream> 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 StreamField