Skip to content

TimeSpanField class

namespace: Serenity.Data   assemblySerenity.Net.Services

Field with a TimeSpan value.

public sealed class TimeSpanField : GenericValueField<TimeSpan>
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
TimeSpanField(…) Field with a TimeSpan value.
static Factory(…) Static factory for field, for backward compatibility, avoid using.
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 TimeSpanField class.

See Also