Enum DurationUnit
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 = 6Whole days.
Hours = 5Whole hours.
Microseconds = 1Whole microseconds.
Milliseconds = 2Whole milliseconds.
Minutes = 4Whole minutes.
Seconds = 3Whole seconds.
Ticks = 0100-nanosecond ticks, the TimeSpan storage unit.