Skip to content

DateOnlyField class

namespace: Serenity.Data   assemblySerenity.Net.Services

Field with a DateOnly value.

public sealed class DateOnlyField : GenericValueField<DateOnly>
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
DateOnlyField(…) Field with a DateOnly value.
static Factory(…) Static factory for field, for backward compatibility, avoid using.
override AsObject(…) Sets the value of this field in specified row as object.
override ConvertValue(…) Converts the value.
override GetFromReader(…) Gets field value from a data reader.
override ValueFromJson(…) Deserializes this field's value from JSON. (2 methods)
override ValueToJson(…) Serializes this field's value to JSON. (2 methods)

Remarks

Initializes a new instance of the DateOnlyField class.

See Also