80 references to Default
System.Data (79)
fx\src\data\System\Data\Common\DBParameter.cs (1)
139
get { return DataRowVersion.
Default
; }
fx\src\data\System\Data\Common\DBSchemaRow.cs (18)
60
object value = dataRow[schemaTable.ColumnName, DataRowVersion.
Default
];
87
object value = dataRow[schemaTable.Size, DataRowVersion.
Default
];
102
object value = dataRow[schemaTable.BaseColumnName, DataRowVersion.
Default
];
118
object value = dataRow[schemaTable.BaseServerName, DataRowVersion.
Default
];
135
object value = dataRow[schemaTable.BaseCatalogName, DataRowVersion.
Default
];
151
object value = dataRow[schemaTable.BaseSchemaName, DataRowVersion.
Default
];
167
object value = dataRow[schemaTable.BaseTableName, DataRowVersion.
Default
];
183
object value = dataRow[schemaTable.IsAutoIncrement, DataRowVersion.
Default
];
199
object value = dataRow[schemaTable.IsUnique, DataRowVersion.
Default
];
215
object value = dataRow[schemaTable.IsRowVersion, DataRowVersion.
Default
];
231
object value = dataRow[schemaTable.IsKey, DataRowVersion.
Default
];
264
object value = dataRow[schemaTable.IsExpression, DataRowVersion.
Default
];
296
object value = dataRow[schemaTable.IsHidden, DataRowVersion.
Default
];
312
object value = dataRow[schemaTable.IsLong, DataRowVersion.
Default
];
328
object value = dataRow[schemaTable.IsReadOnly, DataRowVersion.
Default
];
344
object value = dataRow[schemaTable.DataType, DataRowVersion.
Default
];
360
object value = dataRow[schemaTable.AllowDBNull, DataRowVersion.
Default
];
391
return (Int32) dataRow[schemaTable.UnsortedIndex, DataRowVersion.
Default
];
fx\src\data\System\Data\DataRow.cs (17)
197
VerifyValueFromStorage(column, DataRowVersion.
Default
, column[record]);
252
VerifyValueFromStorage(column, DataRowVersion.
Default
, column[record]);
270
VerifyValueFromStorage(column, DataRowVersion.
Default
, column[record]);
393
VerifyValueFromStorage(column, DataRowVersion.
Default
, column[record]);
740
return GetChildRows(_table.ChildRelations[relationName], DataRowVersion.
Default
);
753
return GetChildRows(relation, DataRowVersion.
Default
);
782
return GetParentRow(_table.ParentRelations[relationName], DataRowVersion.
Default
);
793
return GetParentRow(relation, DataRowVersion.
Default
);
839
return GetParentRows(_table.ParentRelations[relationName], DataRowVersion.
Default
);
855
return GetParentRows(relation, DataRowVersion.
Default
);
880
return GetColumnValues(columns, DataRowVersion.
Default
);
937
case DataRowVersion.
Default
:
948
return DataRowVersion.
Default
;
951
return DataRowVersion.
Default
;
955
return DataRowVersion.
Default
;
962
return DataRowVersion.
Default
;
1003
case DataRowVersion.
Default
:
fx\src\data\System\Data\DataRowView.cs (2)
68
/// <remarks>Uses either <see cref="DataRowVersion.
Default
"/> or <see cref="DataRowVersion.Original"/> to access <see cref="Row"/></remarks>
136
/// <returns>Either <see cref="DataRowVersion.
Default
"/> or <see cref="DataRowVersion.Original"/></returns>
fx\src\data\System\Data\DataTable.cs (2)
6319
DataRowVersion expressionVersion = (version == DataRowVersion.Proposed) ? DataRowVersion.
Default
: version;
6357
DataRowVersion foreignVer = (version == DataRowVersion.Proposed) ? DataRowVersion.
Default
: version;
fx\src\data\System\Data\DataView.cs (1)
406
Debug.Assert(DataRowVersion.
Default
!= version, "not expecting Default");
fx\src\data\System\Data\Filter\AggregateNode.cs (2)
149
return Eval(null, DataRowVersion.
Default
);
174
version = DataRowVersion.
Default
;
fx\src\data\System\Data\Filter\BinaryNode.cs (2)
38
return Eval(null, DataRowVersion.
Default
);
46
return EvalBinaryOp(op, left, right, null, DataRowVersion.
Default
, recordNos);
fx\src\data\System\Data\Filter\DataExpression.cs (2)
103
return Evaluate((DataRow)null, DataRowVersion.
Default
);
142
return Evaluate(rows, DataRowVersion.
Default
);
fx\src\data\System\Data\Filter\FunctionNode.cs (1)
102
return Eval((DataRow)null, DataRowVersion.
Default
);
fx\src\data\System\Data\Filter\UnaryNode.cs (1)
34
return Eval(null, DataRowVersion.
Default
);
fx\src\data\System\Data\ForeignKeyConstraint.cs (5)
240
object[] key = row.GetKeyValues(parentKey, row.RowState == DataRowState.Deleted ? DataRowVersion.Original : DataRowVersion.
Default
);
288
object[] key = row.GetKeyValues(parentKey, DataRowVersion.
Default
);
344
object[] key = row.GetKeyValues(parentKey, row.RowState == DataRowState.Modified ? DataRowVersion.Current : DataRowVersion.
Default
);
461
if (DataRelation.GetChildRows(this.ParentKey, this.ChildKey, row, DataRowVersion.
Default
).Length > 0) {
514
object[] parentKeyValues = parentRow.GetKeyValues(parentKey, action == DataRowAction.Rollback ? version : DataRowVersion.
Default
);
fx\src\data\System\Data\OleDb\OleDbCommandBuilder.cs (11)
213
if ((null != parameterName) && !dataRow.IsNull(parameterName, DataRowVersion.
Default
)) {
215
parameter.ParameterName = Convert.ToString(dataRow[parameterName, DataRowVersion.
Default
], CultureInfo.InvariantCulture).TrimStart(new char[] { '@', ' ', ':'});
217
if ((null != parameterDirection) && !dataRow.IsNull(parameterDirection, DataRowVersion.
Default
)) {
218
short direction = Convert.ToInt16(dataRow[parameterDirection, DataRowVersion.
Default
], CultureInfo.InvariantCulture);
221
if ((null != dataType) && !dataRow.IsNull(dataType, DataRowVersion.
Default
)) {
223
short wType = Convert.ToInt16(dataRow[dataType, DataRowVersion.
Default
], CultureInfo.InvariantCulture);
226
if ((null != maxLen) && !dataRow.IsNull(maxLen, DataRowVersion.
Default
)) {
227
parameter.Size = Convert.ToInt32(dataRow[maxLen, DataRowVersion.
Default
], CultureInfo.InvariantCulture);
233
if ((null != numericPrecision) && !dataRow.IsNull(numericPrecision, DataRowVersion.
Default
)) {
237
if ((null != numericScale) && !dataRow.IsNull(numericScale, DataRowVersion.
Default
)) {
245
value = dataRow[backendtype, DataRowVersion.
Default
];
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (10)
1863
string name = (string) dataRow[nameColumn, DataRowVersion.
Default
];
1931
bool isPKey = (!dataRow.IsNull(pkeyColumn, DataRowVersion.
Default
) && (bool)dataRow[pkeyColumn, DataRowVersion.
Default
]);
1932
bool isUniq = (!dataRow.IsNull(uniqCOlumn, DataRowVersion.
Default
) && (bool)dataRow[uniqCOlumn, DataRowVersion.
Default
]);
1933
bool nullsVal = (null != nulls) && (dataRow.IsNull(nulls, DataRowVersion.
Default
) || (ODB.DBPROPVAL_IN_ALLOWNULL == Convert.ToInt32(dataRow[nulls, DataRowVersion.
Default
], CultureInfo.InvariantCulture)));
1936
string name = (string) dataRow[nameColumn, DataRowVersion.
Default
];
1946
string indexname = (string) dataRow[indxColumn, DataRowVersion.
Default
];
1970
string indexname = (string) dataRow[indxColumn, DataRowVersion.
Default
];
fx\src\Data\System\Data\ProviderBase\DbParameterHelper.cs (1)
187
case DataRowVersion.
Default
:
fx\src\data\System\Data\Select.cs (2)
505
DataRowVersion version = DataRowVersion.
Default
;
607
DataRowVersion version = DataRowVersion.
Default
;
fx\src\data\System\Data\Selection.cs (1)
227
DataRowVersion version = DataRowVersion.
Default
;
System.Data.Entity (1)
System\Data\EntityClient\DbParameterHelper.cs (1)
175
case DataRowVersion.
Default
: