33 references to DataSetDateTime
netstandard (1)
netstandard.cs (1)
507
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.
DataSetDateTime
))]
System.Data (1)
src\libraries\shims\System.Data\ref\System.Data.cs (1)
77
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.
DataSetDateTime
))]
System.Data.Common (31)
System\Data\Common\DataStorage.cs (1)
155
internal
DataSetDateTime
DateTimeMode
System\Data\Common\DateTimeStorage.cs (9)
168
case
DataSetDateTime
.Utc:
182
case
DataSetDateTime
.Local:
196
case
DataSetDateTime
.Unspecified:
197
case
DataSetDateTime
.UnspecifiedLocal:
219
if (DateTimeMode ==
DataSetDateTime
.UnspecifiedLocal)
235
if (DateTimeMode ==
DataSetDateTime
.UnspecifiedLocal)
255
if (isnull || (0 == (DateTimeMode &
DataSetDateTime
.Local)))
270
if (DateTimeMode ==
DataSetDateTime
.UnspecifiedLocal)
280
else if (DateTimeMode ==
DataSetDateTime
.Local)
System\Data\DataColumn.cs (12)
39
private
DataSetDateTime
_dateTimeMode =
DataSetDateTime
.UnspecifiedLocal;
164
_dateTimeMode =
DataSetDateTime
.UnspecifiedLocal;
596
[DefaultValue(
DataSetDateTime
.UnspecifiedLocal)]
598
public
DataSetDateTime
DateTimeMode
605
if (DataType != typeof(DateTime) && value !=
DataSetDateTime
.UnspecifiedLocal)
612
case
DataSetDateTime
.Utc:
613
case
DataSetDateTime
.Local:
619
case
DataSetDateTime
.Unspecified:
620
case
DataSetDateTime
.UnspecifiedLocal:
621
if (_dateTimeMode ==
DataSetDateTime
.Unspecified || _dateTimeMode ==
DataSetDateTime
.UnspecifiedLocal)
System\Data\DataException.cs (3)
519
public static Exception InvalidDateTimeMode(
DataSetDateTime
mode) => _InvalidEnumArgumentException(mode);
520
public static Exception CantChangeDateTimeMode(
DataSetDateTime
oldValue,
DataSetDateTime
newValue) => _InvalidOperation(SR.Format(SR.DataColumn_DateTimeMode, oldValue.ToString(), newValue.ToString()));
System\Data\DataRelation.cs (1)
656
((_parentKey.ColumnsReference[i].DateTimeMode & _childKey.ColumnsReference[i].DateTimeMode) !=
DataSetDateTime
.Unspecified)))
System\Data\DataTable.cs (2)
473
dc.DateTimeMode = (
DataSetDateTime
)info.GetValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.DateTimeMode", i), typeof(
DataSetDateTime
))!;
System\Data\ForeignKeyConstraint.cs (1)
639
((_parentKey.ColumnsReference[i].DataType == typeof(DateTime)) && (_parentKey.ColumnsReference[i].DateTimeMode != _childKey.ColumnsReference[i].DateTimeMode) && ((_parentKey.ColumnsReference[i].DateTimeMode & _childKey.ColumnsReference[i].DateTimeMode) !=
DataSetDateTime
.Unspecified)))
System\Data\Merger.cs (1)
381
((dest.DataType == typeof(DateTime)) && (dest.DateTimeMode != src.DateTimeMode) && ((dest.DateTimeMode & src.DateTimeMode) !=
DataSetDateTime
.Unspecified)))
System\Data\xmlsaver.cs (1)
1386
if (col.DataType == typeof(DateTime) && col.DateTimeMode !=
DataSetDateTime
.UnspecifiedLocal)