61 references to Current
System.Data (59)
fx\src\data\System\Data\Common\DBCommandBuilder.cs (4)
760currentValue = GetColumnValue(dataRow, dataColumn, DataRowVersion.Current); 777DataRowVersion.Current, 847currentValue = GetColumnValue(dataRow, dataColumn, DataRowVersion.Current); 869DataRowVersion.Current,
fx\src\data\System\Data\Common\DbDataAdapter.cs (1)
1515case StatementType.Insert: return DataRowVersion.Current; // ignores parameter.SourceVersion
fx\src\data\System\Data\Common\DBParameter.cs (1)
134DefaultValue(DataRowVersion.Current),
fx\src\data\System\Data\DataColumn.cs (2)
1374if (dr.HasVersion(DataRowVersion.Current)) { 1633if (dr.HasVersion(DataRowVersion.Current)) {
fx\src\data\System\Data\DataRelation.cs (1)
268if (!childRow.HasVersion((version == DataRowVersion.Original) ? DataRowVersion.Original : DataRowVersion.Current))
fx\src\data\System\Data\DataRow.cs (6)
933case DataRowVersion.Current: 981return HasKeyChanged(key, DataRowVersion.Current, DataRowVersion.Proposed); 999case DataRowVersion.Current: 1011if (!HasVersion(DataRowVersion.Original) || !HasVersion(DataRowVersion.Current)) { 1023return HaveValuesChanged(columns, DataRowVersion.Current, DataRowVersion.Proposed); 1307version = DataRowVersion.Current;
fx\src\data\System\Data\DataRowVersion.cs (1)
18Default = Proposed | Current,
fx\src\data\System\Data\DataRowView.cs (1)
129/// <returns>Either <see cref="DataRowVersion.Current"/> or <see cref="DataRowVersion.Original"/></returns>
fx\src\data\System\Data\DataSet.cs (1)
1338DataRow[] relatedRows = row.GetParentRows(relations[relatedIndex], DataRowVersion.Current);
fx\src\data\System\Data\DataTable.cs (7)
4582if ((dataRow[dc, DataRowVersion.Current] != dc[recordNo]) ||(dataRow[dc, DataRowVersion.Original] != dc[recordNo])) 4586if (dataRow[dc, DataRowVersion.Current] != dc[recordNo]) 6178EvaluateDependentExpressions(dependentColumns, row, DataRowVersion.Current, null); 6197EvaluateDependentExpressions(dependentColumns, row, DataRowVersion.Current, cachedRows); 6233EvaluateDependentExpressions(dependentColumns, tableRow, DataRowVersion.Current, null); 6246relatedRow.Table.EvaluateDependentExpressions(relatedRow.Table.dependentColumns, relatedRow, DataRowVersion.Current, null); 6285column[row.newRecord] = column.DataExpression.Evaluate(row, DataRowVersion.Current);
fx\src\data\System\Data\Filter\LookupNode.cs (1)
95return parent[column, parent.HasVersion(version) ? version : DataRowVersion.Current]; // Microsoft : Bug 76154
fx\src\data\System\Data\ForeignKeyConstraint.cs (4)
266object[] currentKey = row.GetKeyValues(parentKey, DataRowVersion.Current); 344object[] key = row.GetKeyValues(parentKey, row.RowState == DataRowState.Modified ? DataRowVersion.Current : DataRowVersion.Default ); 381object[] currentKey = row.GetKeyValues(parentKey, DataRowVersion.Current); 507DataRowVersion version = (action == DataRowAction.Rollback) ? DataRowVersion.Original : DataRowVersion.Current;
fx\src\data\System\Data\Odbc\OdbcParameter.cs (1)
1037|| (DataRowVersion.Current != p.SourceVersion)) {
fx\src\data\System\Data\OleDb\OleDbMetaDataFactory.cs (1)
516string candidateCollectionName = ((string)row[DbMetaDataColumnNames.CollectionName,DataRowVersion.Current]);
fx\src\data\System\Data\OleDb\OleDbParameter.cs (1)
584|| (DataRowVersion.Current != p.SourceVersion)) {
fx\src\data\System\Data\ProviderBase\DbMetaDataFactory.cs (7)
101newRow[destinationColumns[i]] = row[filteredSourceColumns[i],DataRowVersion.Current]; 136String sqlCommand = requestedCollectionRow[populationStringColumn,DataRowVersion.Current] as string; 137int numberOfRestrictions = (int)requestedCollectionRow[numberOfRestrictionsColumn,DataRowVersion.Current] ; 138String collectionName = requestedCollectionRow[collectionNameColumn,DataRowVersion.Current] as string; 266candidateCollectionName = row[collectionNameColumn,DataRowVersion.Current] as string; 392exactCollectionName = requestedCollectionRow[collectionNameColumn,DataRowVersion.Current] as string; 405string populationMechanism = requestedCollectionRow[populationMechanismColumn,DataRowVersion.Current] as string;
fx\src\Data\System\Data\ProviderBase\DbParameterHelper.cs (2)
180return ((0 != sourceVersion) ? sourceVersion : DataRowVersion.Current); 185case DataRowVersion.Current:
fx\src\data\System\Data\Select.cs (2)
510version = DataRowVersion.Current; 612version = DataRowVersion.Current;
fx\src\data\System\Data\Selection.cs (1)
232version = DataRowVersion.Current;
fx\src\data\System\Data\SqlClient\SqlParameter.cs (1)
1798|| (DataRowVersion.Current != p.SourceVersion)
fx\src\data\System\NewXml\DataPointer.cs (3)
121DataRowVersion rowVersion = ( row.RowState == DataRowState.Detached ) ? DataRowVersion.Proposed : DataRowVersion.Current; 461DataRowVersion rowVersion = ( row.RowState == DataRowState.Detached ) ? DataRowVersion.Proposed : DataRowVersion.Current; 679DataRowVersion rowVersion = ( row.RowState == DataRowState.Detached ) ? DataRowVersion.Proposed : DataRowVersion.Current;
fx\src\data\System\NewXml\XmlDataDocument.cs (4)
612DataRowVersion rowVersion = ( row.RowState == DataRowState.Detached ) ? DataRowVersion.Proposed : DataRowVersion.Current; 1899nRec2 = row.GetRecordFromVersion(DataRowVersion.Current); 1917nRec2 = row.GetRecordFromVersion( DataRowVersion.Current ); 1920object currentValue = row[c, DataRowVersion.Current];
fx\src\data\System\NewXml\XPathNodePointer.cs (6)
298DataRowVersion rowVersion = ( row.RowState == DataRowState.Detached ) ? DataRowVersion.Proposed : DataRowVersion.Current; 332DataRowVersion rowVersion = ( row.RowState == DataRowState.Detached ) ? DataRowVersion.Proposed : DataRowVersion.Current; 516DataRowVersion rowVersion = ( row.RowState == DataRowState.Detached ) ? DataRowVersion.Proposed : DataRowVersion.Current; 536DataRowVersion rowVersion = ( row.RowState == DataRowState.Detached ) ? DataRowVersion.Proposed : DataRowVersion.Current; 1213DataRowVersion rowVersion = ( curRow.RowState == DataRowState.Detached ) ? DataRowVersion.Proposed : DataRowVersion.Current; 1490DataRowVersion rowVersion = ( row.RowState == DataRowState.Detached ) ? DataRowVersion.Proposed : DataRowVersion.Current;
System.Data.Entity (2)
System\Data\EntityClient\DbParameterHelper.cs (2)
168return ((0 != sourceVersion) ? sourceVersion : DataRowVersion.Current); 173case DataRowVersion.Current: