DataSetDateTime Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum class DataSetDateTime
public enum DataSetDateTime
type DataSetDateTime =
Public Enum DataSetDateTime
- Inheritance
Name | Value | Description |
---|---|---|
Local | 1 |
|
Unspecified | 2 |
|
UnspecifiedLocal | 3 |
|
Utc | 4 |
|
DataSetDateTime cannot be set on non-DateTime columns. Setting the DateTimeMode property with the default value UnspecifiedLocal on non-DateTime columns is permitted. Modifying the column data type from DateTime to any other type resets the DateTimeMode to the default value UnspecifiedLocal.
Checking schema for merging, Relations, and ForeignKeyConstraints can be performed between DateTime columns with matching DateTimeMode properties. Otherwise the columns should be considered as non-matching on schema. The only exception is between Unspecified and UnspecifiedLocal. It is permitted to have a relation or a ForeignKeyConstraint
between two DateTime
columns with one in Unspecified
and other in UnspecifiedLocal
DateTimeMode.
Product | Versions |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: