CustomClassField<TValue> class

namespace: Serenity.Data   assemblySerenity.Net.Services

Base class for custom fields with reference type values

public class CustomClassField<TValue> : GenericClassField<TValue>
    where TValue : class
parameter description
TValue The type of the value.
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
CustomClassField(…) Base class for custom fields with reference type values
override Copy(…) Copies the specified source.
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)
virtual ValueToJson(…) Serializes this fields value to JSON (2 methods)

Protected Members

name description
virtual Clone(…) Clones the specified value.
virtual CompareValues(…) Compares the values.
virtual GetFromReader(…) Gets field value from a data reader.
virtual ValueFromJson(…) Deserializes this fields value from JSON (2 methods)

Remarks

Initializes a new instance of the CustomClassField class.

See Also