1 write to DateTimeMode
System.Data.Common (1)
System\Data\DataTable.cs (1)
473
dc.
DateTimeMode
= (DataSetDateTime)info.GetValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.DateTimeMode", i), typeof(DataSetDateTime))!;
16 references to DateTimeMode
System.Data.Common (16)
System\Data\Common\DataStorage.cs (1)
159
return _column.
DateTimeMode
;
System\Data\DataRelation.cs (4)
655
(_parentKey.ColumnsReference[i].
DateTimeMode
!= _childKey.ColumnsReference[i].
DateTimeMode
) &&
656
((_parentKey.ColumnsReference[i].
DateTimeMode
& _childKey.ColumnsReference[i].
DateTimeMode
) != DataSetDateTime.Unspecified)))
System\Data\DataTable.cs (1)
401
info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.DateTimeMode", i), Columns[i].
DateTimeMode
);
System\Data\ForeignKeyConstraint.cs (4)
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 (4)
381
((dest.DataType == typeof(DateTime)) && (dest.
DateTimeMode
!= src.
DateTimeMode
) && ((dest.
DateTimeMode
& src.
DateTimeMode
) != DataSetDateTime.Unspecified)))
System\Data\xmlsaver.cs (2)
1386
if (col.DataType == typeof(DateTime) && col.
DateTimeMode
!= DataSetDateTime.UnspecifiedLocal)
1388
root.SetAttribute("DateTimeMode", Keywords.MSDNS, col.
DateTimeMode
.ToString());