JsonField<TValue> class
namespace: Serenity.Data assembly: Serenity.Net.Entity
Field with JSON value
public class JsonField<TValue> : GenericClassField<TValue>
where TValue : class
| parameter | description |
|---|---|
| TValue | The type of the value. |
Public Members
| name | description |
|---|---|
| JsonField(…) | Initializes a new instance of the JsonField class. |
| static Factory(…) | Static factory for field, for backward compatibility, avoid using. |
| Settings { get; set; } | Gets or sets the settings. |
| override AsSqlValue(…) | Gets the value of this row as an SQL value. |
| override GetFromReader(…) | Gets field value from a data reader. |
| override IndexCompare(…) | Compares the field values for two rows for an ascending index sort |
| override ValueFromJson(…) | Deserializes this fields value from JSON |
| override ValueToJson(…) | Serializes this fields value to JSON |
See Also
- class GenericClassField<TValue>
- class TValue
- Source: JsonField.cs