Table of Contents

Enum DurationUnit

Namespace
NextORM.Core
Assembly
nextorm.core.dll

The unit in which a TimeSpan property is stored when the provider has no native interval/time-of-day type and the value is kept in an integer column. Providers with a native duration type (PostgreSQL interval, MySQL/MariaDB TIME) ignore the unit and store the value natively; Ticks is the unit used when none is declared.

public enum DurationUnit
Extension Methods

Fields

Days = 6

Whole days.

Hours = 5

Whole hours.

Microseconds = 1

Whole microseconds.

Milliseconds = 2

Whole milliseconds.

Minutes = 4

Whole minutes.

Seconds = 3

Whole seconds.

Ticks = 0

100-nanosecond ticks, the TimeSpan storage unit.