Skip to content

GenericClassField<TValue> class

namespace: Serenity.Data   assembly: Serenity.Net.Services

Base class for fields with reference type values.

public abstract class GenericClassField<TValue> : Field
    where TValue : class
parameter description
TValue The type of the value.

Public Members

name description
Item { get; set; } Gets or sets the value of this field with the specified row.
override ValueType { get; } Gets the type of the value.
override AsObject(…) Sets the value of this field in specified row as object.
override AsObjectNoCheck(…)
override ConvertValue(…) Converts the value.
override Copy(…) Copies the specified source.
override IndexCompare(…) Compares the field values for two rows for an ascending index sort using the specified comparer, falling back to Comparer when it is null.
override IsNullNoCheck(…)

Protected Members

name description
_getValue The get value callback.
_setValue The set value callback.
virtual CompareValues(…) Compares two values of this field using the specified comparer.

See Also