33 lines
2.3 KiB
C#
33 lines
2.3 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Data
|
|
{
|
|
/// <summary>Describes the serialization format for <see cref="T:System.DateTime" /> columns in a <see cref="T:System.Data.DataSet" />.</summary>
|
|
// Token: 0x02000038 RID: 56
|
|
[Token(Token = "0x2000038")]
|
|
public enum DataSetDateTime
|
|
{
|
|
/// <summary>
|
|
/// <see langword="DateTime" /> is always stored in Local. If <see cref="F:System.Data.DataSetDateTime.Utc" /> or <see cref="F:System.Data.DataSetDateTime.Unspecified" /> is assigned to a column in this mode, it is first converted into Local. Serialization in this mode is always performed in Local. There is an offset during serialization.</summary>
|
|
// Token: 0x040000D5 RID: 213
|
|
[Token(Token = "0x40000D5")]
|
|
Local = 1,
|
|
/// <summary>
|
|
/// <see langword="DateTime" /> is always stored in Unspecified. If <see cref="F:System.Data.DataSetDateTime.Local" /> or <see cref="F:System.Data.DataSetDateTime.Utc" /> is assigned to a column in this mode, it is first converted into <see cref="F:System.Data.DataSetDateTime.Unspecified" />. Serialization in this mode does not cause an offset.</summary>
|
|
// Token: 0x040000D6 RID: 214
|
|
[Token(Token = "0x40000D6")]
|
|
Unspecified,
|
|
/// <summary>
|
|
/// <see langword="DateTime" /> is stored in Unspecified. If <see cref="F:System.Data.DataSetDateTime.Local" /> or <see cref="F:System.Data.DataSetDateTime.Utc" /> is assigned to a column in this mode, it is first converted into <see cref="F:System.Data.DataSetDateTime.Unspecified" />. Serialization in this mode causes offset. This is the default behavior and is backward compatible. This option should be thought of as being Unspecified in storage but applying an offset that is similar to <see cref="F:System.Data.DataSetDateTime.Local" /> during serialization.</summary>
|
|
// Token: 0x040000D7 RID: 215
|
|
[Token(Token = "0x40000D7")]
|
|
UnspecifiedLocal,
|
|
/// <summary>
|
|
/// <see langword="DateTime" /> is stored in Universal Coordinated Time (UTC). If <see cref="F:System.Data.DataSetDateTime.Local" /> or <see cref="F:System.Data.DataSetDateTime.Unspecified" /> is assigned to a column in this mode, it is first converted into <see langword="Utc" /> format. Serialization in this mode is always performed in <see langword="Utc" />. There is no offset during serialization.</summary>
|
|
// Token: 0x040000D8 RID: 216
|
|
[Token(Token = "0x40000D8")]
|
|
Utc
|
|
}
|
|
}
|