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)
155internal DataSetDateTime DateTimeMode
System\Data\Common\DateTimeStorage.cs (9)
168case DataSetDateTime.Utc: 182case DataSetDateTime.Local: 196case DataSetDateTime.Unspecified: 197case DataSetDateTime.UnspecifiedLocal: 219if (DateTimeMode == DataSetDateTime.UnspecifiedLocal) 235if (DateTimeMode == DataSetDateTime.UnspecifiedLocal) 255if (isnull || (0 == (DateTimeMode & DataSetDateTime.Local))) 270if (DateTimeMode == DataSetDateTime.UnspecifiedLocal) 280else if (DateTimeMode == DataSetDateTime.Local)
System\Data\DataColumn.cs (12)
39private DataSetDateTime _dateTimeMode = DataSetDateTime.UnspecifiedLocal; 164_dateTimeMode = DataSetDateTime.UnspecifiedLocal; 596[DefaultValue(DataSetDateTime.UnspecifiedLocal)] 598public DataSetDateTime DateTimeMode 605if (DataType != typeof(DateTime) && value != DataSetDateTime.UnspecifiedLocal) 612case DataSetDateTime.Utc: 613case DataSetDateTime.Local: 619case DataSetDateTime.Unspecified: 620case DataSetDateTime.UnspecifiedLocal: 621if (_dateTimeMode == DataSetDateTime.Unspecified || _dateTimeMode == DataSetDateTime.UnspecifiedLocal)
System\Data\DataException.cs (3)
519public static Exception InvalidDateTimeMode(DataSetDateTime mode) => _InvalidEnumArgumentException(mode); 520public 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)
473dc.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)
1386if (col.DataType == typeof(DateTime) && col.DateTimeMode != DataSetDateTime.UnspecifiedLocal)