VariantField class

namespace: Serenity.Data   assemblySerenity.Net.Services

Field with a Variant (e.g. SQL VARIANT) value

public class VariantField : GenericClassField<object>
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.

Public Members

name description
VariantField(…) Field with a Variant (e.g. SQL VARIANT) value
static Factory(…) Static factory for field, for backward compatibility, avoid using.
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 (2 methods)
override ValueToJson(…) Serializes this fields value to JSON (2 methods)

Remarks

Initializes a new instance of the VariantField class.

See Also