BooleanField class
namespace: Serenity.Data assembly: Serenity.Net.Services
Field with boolean value
public sealed class BooleanField : GenericValueField<bool>
| parameter | description |
|---|---|
| collection | The field collection. |
| name | The name. |
| caption | The caption. |
| size | The size. |
| flags | The flags. |
| getValue | The get value callback. |
| setValue | The set value callback. |
Public Members
| name | description |
|---|---|
| BooleanField(…) | Field with boolean value |
| static Factory(…) | Static factory for field, for backward compatibility, avoid using. |
| override GetFromReader(…) | Gets field value from a data reader. |
| override ValueFromJson(…) | Gets field value from JSON. (2 methods) |
| override ValueToJson(…) | Converts field value to json. (2 methods) |
Remarks
Initializes a new instance of the BooleanField class.
See Also
- class GenericValueField<TValue>
- Source: BooleanField.cs