57 references to Current
System.Data.Common (47)
System\Data\Common\DBCommandBuilder.cs (4)
854
currentValue = GetColumnValue(dataRow, dataColumn, DataRowVersion.
Current
);
871
DataRowVersion.
Current
,
946
currentValue = GetColumnValue(dataRow, dataColumn, DataRowVersion.
Current
);
970
DataRowVersion.
Current
,
System\Data\Common\DbDataAdapter.cs (1)
1795
case StatementType.Insert: return DataRowVersion.
Current
; // ignores parameter.SourceVersion
System\Data\Common\DbParameter.cs (1)
69
[DefaultValue(DataRowVersion.
Current
)]
System\Data\DataColumn.cs (2)
1380
if (dr.HasVersion(DataRowVersion.
Current
))
1686
if (dr.HasVersion(DataRowVersion.
Current
))
System\Data\DataRelation.cs (1)
248
if (!childRow.HasVersion((version == DataRowVersion.Original) ? DataRowVersion.Original : DataRowVersion.
Current
))
System\Data\DataRow.cs (6)
1013
DataRowVersion.
Current
=> GetCurrentRecordNo(),
1078
HasKeyChanged(key, DataRowVersion.
Current
, DataRowVersion.Proposed);
1098
DataRowVersion.
Current
=> (_newRecord != -1),
1107
if (!HasVersion(DataRowVersion.Original) || !HasVersion(DataRowVersion.
Current
))
1122
HaveValuesChanged(columns, DataRowVersion.
Current
, DataRowVersion.Proposed);
1444
version = DataRowVersion.
Current
;
System\Data\DataRowVersion.cs (1)
11
Default = Proposed |
Current
,
System\Data\DataRowView.cs (1)
112
/// <returns>Either <see cref="DataRowVersion.
Current
"/> or <see cref="DataRowVersion.Original"/></returns>
System\Data\DataSet.cs (1)
1426
DataRow[] relatedRows = row.GetParentRows(relations[relatedIndex], DataRowVersion.
Current
);
System\Data\DataTable.cs (7)
5123
if ((dataRow[dc, DataRowVersion.
Current
] != dc[recordNo]) || (dataRow[dc, DataRowVersion.Original] != dc[recordNo]))
5127
if (dataRow[dc, DataRowVersion.
Current
] != dc[recordNo])
6978
EvaluateDependentExpressions(_dependentColumns, row, DataRowVersion.
Current
, null);
7002
EvaluateDependentExpressions(_dependentColumns, row, DataRowVersion.
Current
, cachedRows);
7044
EvaluateDependentExpressions(_dependentColumns, tableRow, DataRowVersion.
Current
, null);
7061
relatedRow.Table.EvaluateDependentExpressions(relatedRow.Table._dependentColumns, relatedRow, DataRowVersion.
Current
, null);
7113
column[row._newRecord] = column.DataExpression.Evaluate(row, DataRowVersion.
Current
);
System\Data\Filter\LookupNode.cs (1)
102
return parent[_column, parent.HasVersion(version) ? version : DataRowVersion.
Current
];
System\Data\ForeignKeyConstraint.cs (4)
267
object[] currentKey = row.GetKeyValues(_parentKey, DataRowVersion.
Current
);
363
object[] key = row.GetKeyValues(_parentKey, row.RowState == DataRowState.Modified ? DataRowVersion.
Current
: DataRowVersion.Default);
412
object[] currentKey = row.GetKeyValues(_parentKey, DataRowVersion.
Current
);
572
DataRowVersion version = (action == DataRowAction.Rollback) ? DataRowVersion.Original : DataRowVersion.
Current
;
System\Data\Select.cs (2)
616
version = DataRowVersion.
Current
;
728
version = DataRowVersion.
Current
;
System\Data\Selection.cs (1)
209
version = DataRowVersion.
Current
;
System\Xml\DataPointer.cs (3)
126
DataRowVersion rowVersion = (row.RowState == DataRowState.Detached) ? DataRowVersion.Proposed : DataRowVersion.
Current
;
571
DataRowVersion rowVersion = (row.RowState == DataRowState.Detached) ? DataRowVersion.Proposed : DataRowVersion.
Current
;
852
DataRowVersion rowVersion = (row.RowState == DataRowState.Detached) ? DataRowVersion.Proposed : DataRowVersion.
Current
;
System\Xml\XmlDataDocument.cs (5)
671
DataRowVersion rowVersion = (row.RowState == DataRowState.Detached) ? DataRowVersion.Proposed : DataRowVersion.
Current
;
1425
if (Convert.IsDBNull(row[col, DataRowVersion.
Current
]))
2112
nRec2 = row.GetRecordFromVersion(DataRowVersion.
Current
);
2129
nRec2 = row.GetRecordFromVersion(DataRowVersion.
Current
);
2133
object currentValue = row[c, DataRowVersion.
Current
];
System\Xml\XPathNodePointer.cs (6)
329
DataRowVersion rowVersion = (row.RowState == DataRowState.Detached) ? DataRowVersion.Proposed : DataRowVersion.
Current
;
368
DataRowVersion rowVersion = (row.RowState == DataRowState.Detached) ? DataRowVersion.Proposed : DataRowVersion.
Current
;
550
DataRowVersion rowVersion = (row.RowState == DataRowState.Detached) ? DataRowVersion.Proposed : DataRowVersion.
Current
;
570
DataRowVersion rowVersion = (row.RowState == DataRowState.Detached) ? DataRowVersion.Proposed : DataRowVersion.
Current
;
1348
DataRowVersion rowVersion = (curRow.RowState == DataRowState.Detached) ? DataRowVersion.Proposed : DataRowVersion.
Current
;
1660
DataRowVersion rowVersion = (row.RowState == DataRowState.Detached) ? DataRowVersion.Proposed : DataRowVersion.
Current
;
System.Data.Odbc (10)
Common\System\Data\Common\AdapterUtil.Odbc.cs (1)
110
case DataRowVersion.
Current
:
src\libraries\Common\src\System\Data\ProviderBase\DbMetaDataFactory.cs (7)
82
newRow[destinationColumns[i]] = row[filteredSourceColumns[i], DataRowVersion.
Current
];
116
string sqlCommand = (requestedCollectionRow[populationStringColumn, DataRowVersion.
Current
] as string)!;
117
int numberOfRestrictions = (int)requestedCollectionRow[numberOfRestrictionsColumn, DataRowVersion.
Current
];
118
string collectionName = (requestedCollectionRow[collectionNameColumn, DataRowVersion.
Current
] as string)!;
253
candidateCollectionName = row[collectionNameColumn, DataRowVersion.
Current
] as string;
401
exactCollectionName = (requestedCollectionRow[collectionNameColumn, DataRowVersion.
Current
] as string)!;
417
string populationMechanism = (requestedCollectionRow[populationMechanismColumn, DataRowVersion.
Current
] as string)!;
System\Data\Odbc\OdbcParameterHelper.cs (2)
167
return ((0 != sourceVersion) ? sourceVersion : DataRowVersion.
Current
);
174
case DataRowVersion.
Current
: