32 references to DataSetDateTime
System.Data (32)
fx\src\data\System\Data\Common\DataStorage.cs (1)
156
internal
DataSetDateTime
DateTimeMode {
fx\src\data\System\Data\Common\DateTimeStorage.cs (9)
144
case
DataSetDateTime
.Utc:
155
case
DataSetDateTime
.Local:
166
case
DataSetDateTime
.Unspecified:
167
case
DataSetDateTime
.UnspecifiedLocal:
189
if (DateTimeMode ==
DataSetDateTime
.UnspecifiedLocal) {
200
if (DateTimeMode ==
DataSetDateTime
.UnspecifiedLocal) {
216
if (isnull || ( 0 == (DateTimeMode &
DataSetDateTime
.Local))) {
228
if (DateTimeMode ==
DataSetDateTime
.UnspecifiedLocal) {
235
else if (DateTimeMode ==
DataSetDateTime
.Local) {
fx\src\data\System\Data\DataColumn.cs (12)
42
private
DataSetDateTime
_dateTimeMode =
DataSetDateTime
.UnspecifiedLocal;
169
_dateTimeMode =
DataSetDateTime
.UnspecifiedLocal;
621
DefaultValue(
DataSetDateTime
.UnspecifiedLocal),
625
public
DataSetDateTime
DateTimeMode {
631
if (DataType != typeof(DateTime) && value !=
DataSetDateTime
.UnspecifiedLocal) { //Check for column being DateTime. If the column is not DateTime make sure the value that is being is only the default[UnspecifiedLocal].
635
case
DataSetDateTime
.Utc:
636
case
DataSetDateTime
.Local:
641
case
DataSetDateTime
.Unspecified:
642
case
DataSetDateTime
.UnspecifiedLocal:
643
if (_dateTimeMode ==
DataSetDateTime
.Unspecified || _dateTimeMode ==
DataSetDateTime
.UnspecifiedLocal) {
fx\src\data\System\Data\DataException.cs (4)
752
static public Exception InvalidDateTimeMode(
DataSetDateTime
mode) {
753
return _InvalidEnumArgumentException<
DataSetDateTime
>(mode);
756
static public Exception CantChangeDateTimeMode(
DataSetDateTime
oldValue,
DataSetDateTime
newValue) {
fx\src\data\System\Data\DataRelation.cs (1)
644
((parentKey.ColumnsReference[i].DateTimeMode & childKey.ColumnsReference[i].DateTimeMode) !=
DataSetDateTime
.Unspecified)))
fx\src\data\System\Data\DataTable.cs (2)
436
dc.DateTimeMode = (
DataSetDateTime
) info.GetValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.DateTimeMode", i), typeof(
DataSetDateTime
));
fx\src\data\System\Data\ForeignKeyConstraint.cs (1)
561
((parentKey.ColumnsReference[i].DataType == typeof(DateTime)) && (parentKey.ColumnsReference[i].DateTimeMode != childKey.ColumnsReference[i].DateTimeMode) && ((parentKey.ColumnsReference[i].DateTimeMode & childKey.ColumnsReference[i].DateTimeMode) !=
DataSetDateTime
.Unspecified)))
fx\src\data\System\Data\Merger.cs (1)
318
((dest.DataType == typeof(DateTime)) && (dest.DateTimeMode != src.DateTimeMode) && ((dest.DateTimeMode & src.DateTimeMode) !=
DataSetDateTime
.Unspecified))) {
fx\src\data\System\Data\xmlsaver.cs (1)
1172
if (col.DataType == typeof(DateTime) && col.DateTimeMode !=
DataSetDateTime
.UnspecifiedLocal) {