57 references to Current
System.Data.Common (47)
System\Data\Common\DBCommandBuilder.cs (4)
854currentValue = GetColumnValue(dataRow, dataColumn, DataRowVersion.Current); 871DataRowVersion.Current, 946currentValue = GetColumnValue(dataRow, dataColumn, DataRowVersion.Current); 970DataRowVersion.Current,
System\Data\Common\DbDataAdapter.cs (1)
1795case StatementType.Insert: return DataRowVersion.Current; // ignores parameter.SourceVersion
System\Data\Common\DbParameter.cs (1)
69[DefaultValue(DataRowVersion.Current)]
System\Data\DataColumn.cs (2)
1379if (dr.HasVersion(DataRowVersion.Current)) 1685if (dr.HasVersion(DataRowVersion.Current))
System\Data\DataRelation.cs (1)
248if (!childRow.HasVersion((version == DataRowVersion.Original) ? DataRowVersion.Original : DataRowVersion.Current))
System\Data\DataRow.cs (6)
1013DataRowVersion.Current => GetCurrentRecordNo(), 1078HasKeyChanged(key, DataRowVersion.Current, DataRowVersion.Proposed); 1098DataRowVersion.Current => (_newRecord != -1), 1107if (!HasVersion(DataRowVersion.Original) || !HasVersion(DataRowVersion.Current)) 1122HaveValuesChanged(columns, DataRowVersion.Current, DataRowVersion.Proposed); 1444version = DataRowVersion.Current;
System\Data\DataRowVersion.cs (1)
11Default = 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)
1416DataRow[] relatedRows = row.GetParentRows(relations[relatedIndex], DataRowVersion.Current);
System\Data\DataTable.cs (7)
5118if ((dataRow[dc, DataRowVersion.Current] != dc[recordNo]) || (dataRow[dc, DataRowVersion.Original] != dc[recordNo])) 5122if (dataRow[dc, DataRowVersion.Current] != dc[recordNo]) 6919EvaluateDependentExpressions(_dependentColumns, row, DataRowVersion.Current, null); 6943EvaluateDependentExpressions(_dependentColumns, row, DataRowVersion.Current, cachedRows); 6985EvaluateDependentExpressions(_dependentColumns, tableRow, DataRowVersion.Current, null); 7002relatedRow.Table.EvaluateDependentExpressions(relatedRow.Table._dependentColumns, relatedRow, DataRowVersion.Current, null); 7054column[row._newRecord] = column.DataExpression.Evaluate(row, DataRowVersion.Current);
System\Data\Filter\LookupNode.cs (1)
102return parent[_column, parent.HasVersion(version) ? version : DataRowVersion.Current];
System\Data\ForeignKeyConstraint.cs (4)
267object[] currentKey = row.GetKeyValues(_parentKey, DataRowVersion.Current); 363object[] key = row.GetKeyValues(_parentKey, row.RowState == DataRowState.Modified ? DataRowVersion.Current : DataRowVersion.Default); 412object[] currentKey = row.GetKeyValues(_parentKey, DataRowVersion.Current); 572DataRowVersion version = (action == DataRowAction.Rollback) ? DataRowVersion.Original : DataRowVersion.Current;
System\Data\Select.cs (2)
618version = DataRowVersion.Current; 732version = DataRowVersion.Current;
System\Data\Selection.cs (1)
209version = DataRowVersion.Current;
System\Xml\DataPointer.cs (3)
126DataRowVersion rowVersion = (row.RowState == DataRowState.Detached) ? DataRowVersion.Proposed : DataRowVersion.Current; 570DataRowVersion rowVersion = (row.RowState == DataRowState.Detached) ? DataRowVersion.Proposed : DataRowVersion.Current; 851DataRowVersion rowVersion = (row.RowState == DataRowState.Detached) ? DataRowVersion.Proposed : DataRowVersion.Current;
System\Xml\XmlDataDocument.cs (5)
692DataRowVersion rowVersion = (row.RowState == DataRowState.Detached) ? DataRowVersion.Proposed : DataRowVersion.Current; 1442if (Convert.IsDBNull(row[col, DataRowVersion.Current])) 2141nRec2 = row.GetRecordFromVersion(DataRowVersion.Current); 2158nRec2 = row.GetRecordFromVersion(DataRowVersion.Current); 2162object currentValue = row[c, DataRowVersion.Current];
System\Xml\XPathNodePointer.cs (6)
328DataRowVersion rowVersion = (row.RowState == DataRowState.Detached) ? DataRowVersion.Proposed : DataRowVersion.Current; 366DataRowVersion rowVersion = (row.RowState == DataRowState.Detached) ? DataRowVersion.Proposed : DataRowVersion.Current; 548DataRowVersion rowVersion = (row.RowState == DataRowState.Detached) ? DataRowVersion.Proposed : DataRowVersion.Current; 568DataRowVersion rowVersion = (row.RowState == DataRowState.Detached) ? DataRowVersion.Proposed : DataRowVersion.Current; 1342DataRowVersion rowVersion = (curRow.RowState == DataRowState.Detached) ? DataRowVersion.Proposed : DataRowVersion.Current; 1649DataRowVersion rowVersion = (row.RowState == DataRowState.Detached) ? DataRowVersion.Proposed : DataRowVersion.Current;
System.Data.Odbc (10)
Common\System\Data\Common\AdapterUtil.Odbc.cs (1)
110case DataRowVersion.Current:
src\libraries\Common\src\System\Data\ProviderBase\DbMetaDataFactory.cs (7)
82newRow[destinationColumns[i]] = row[filteredSourceColumns[i], DataRowVersion.Current]; 116string sqlCommand = (requestedCollectionRow[populationStringColumn, DataRowVersion.Current] as string)!; 117int numberOfRestrictions = (int)requestedCollectionRow[numberOfRestrictionsColumn, DataRowVersion.Current]; 118string collectionName = (requestedCollectionRow[collectionNameColumn, DataRowVersion.Current] as string)!; 253candidateCollectionName = row[collectionNameColumn, DataRowVersion.Current] as string; 401exactCollectionName = (requestedCollectionRow[collectionNameColumn, DataRowVersion.Current] as string)!; 417string populationMechanism = (requestedCollectionRow[populationMechanismColumn, DataRowVersion.Current] as string)!;
System\Data\Odbc\OdbcParameterHelper.cs (2)
167return ((0 != sourceVersion) ? sourceVersion : DataRowVersion.Current); 174case DataRowVersion.Current: