88 writes to
System.Data.Common (34)
System\Data\Common\DbDataAdapter.cs (2)
802
row
[
dataColumn] = value;
811
row
[
dataColumn] = value;
System\Data\DataRow.cs (4)
195
this
[
column] = value;
267
this
[
column] = value;
1251
this
[
key.ColumnsReference[i]] = keyValues[i];
1265
this
[
column] = DBNull.Value;
System\Data\DataRowExtensions.cs (1)
140
row
[
column] = (object?)value ?? DBNull.Value;
System\Data\DataRowView.cs (1)
135
Row
[
column] = value;
System\Data\DataTable.cs (2)
3477
row
[
c] = DBNull.Value;
3481
row
[
c] = c.DefaultValue;
System\Data\DataTableReader.cs (15)
797
dr
[
ColumnName] = dc.ColumnName;
798
dr
[
ColumnOrdinal] = dc.Ordinal;
799
dr
[
DataType] = dc.DataType;
803
dr
[
ColumnSize] = dc.MaxLength;
806
dr
[
AllowDBNull] = dc.AllowDBNull;
807
dr
[
IsReadOnly] = dc.ReadOnly;
808
dr
[
IsUnique] = dc.Unique;
812
dr
[
IsAutoIncrement] = true;
813
dr
[
AutoIncrementSeed] = dc.AutoIncrementSeed;
814
dr
[
AutoIncrementStep] = dc.AutoIncrementStep;
819
dr
[
DefaultValue] = dc.DefaultValue;
836
dr
[
Expression] = dc.Expression;
840
dr
[
ColumnMapping] = dc.ColumnMapping;
841
dr
[
BaseColumnName] = dc.ColumnName;
842
dr
[
BaseColumnNamespace] = dc.Namespace;
System\Data\XmlDataLoader.cs (5)
390
row
[
column] = DBNull.Value;
424
row
[
c] = DBNull.Value;
478
row
[
c] = DBNull.Value;
482
row
[
c] = c.DefaultValue;
548
row
[
col] = col.ConvertXmlToObject(xmlText);
System\Xml\XmlDataDocument.cs (4)
2383
row
[
col] = DBNull.Value;
2406
row
[
col] = oVal;
2476
row
[
column] = DBNull.Value;
2512
row
[
c] = DBNull.Value;
System.Data.Odbc (54)
src\libraries\Common\src\System\Data\ProviderBase\DbMetaDataFactory.cs (3)
82
newRow
[
destinationColumns[i]] = row[filteredSourceColumns[i], DataRowVersion.Current];
331
dataSourceInfoRow
[
versionColumn] = _serverVersionString;
332
dataSourceInfoRow
[
normalizedVersionColumn] = _normalizedServerVersion;
System\Data\Odbc\OdbcDataReader.cs (18)
2275
row
[
columnName] = GetName(i); //ColumnName
2276
row
[
columnOrdinal] = i; //ColumnOrdinal
2277
row
[
columnSize] = unchecked((int)Math.Min(Math.Max(int.MinValue, _metadata![i].size.ToInt64()), int.MaxValue));
2278
row
[
numericPrecision] = (short)_metadata[i].precision;
2279
row
[
numericScale] = (short)_metadata[i].scale;
2280
row
[
dataType] = _metadata[i].typemap._type; //DataType
2281
row
[
providerType] = _metadata[i].typemap._odbcType; // ProviderType
2282
row
[
isLong] = _metadata[i].isLong; // IsLong
2283
row
[
allowDBNull] = _metadata[i].isNullable; //AllowDBNull
2284
row
[
isReadOnly] = _metadata[i].isReadOnly; // IsReadOnly
2285
row
[
isRowVersion] = _metadata[i].isRowVersion; //IsRowVersion
2286
row
[
isUnique] = _metadata[i].isUnique; //IsUnique
2287
row
[
isKey] = _metadata[i].isKeyColumn; // IsKey
2288
row
[
isAutoIncrement] = _metadata[i].isAutoIncrement; //IsAutoIncrement
2291
row
[
baseSchemaName] = _metadata[i].baseSchemaName;
2293
row
[
baseCatalogName] = _metadata[i].baseCatalogName;
2295
row
[
baseTableName] = _metadata[i].baseTableName;
2297
row
[
baseColumnName] = _metadata[i].baseColumnName;
System\Data\Odbc\OdbcMetaDataFactory.cs (33)
248
dataTypesRow
[
typeNameColumn] = getTypeInfoValues[indexTYPE_NAME];
249
dataTypesRow
[
SQLTypeNameColumn] = getTypeInfoValues[indexDATA_TYPE];
281
dataTypesRow
[
providerDbTypeColumn] = typeMap._odbcType;
282
dataTypesRow
[
dataTypeColumn] = typeMap._type.FullName;
292
dataTypesRow
[
isLongColumn] = true;
293
dataTypesRow
[
isFixedLengthColumn] = false;
299
dataTypesRow
[
isLongColumn] = false;
300
dataTypesRow
[
isFixedLengthColumn] = false;
324
dataTypesRow
[
isLongColumn] = false;
325
dataTypesRow
[
isFixedLengthColumn] = true;
338
dataTypesRow
[
columnSizeColumn] = getTypeInfoValues[indexCOLUMN_SIZE];
339
dataTypesRow
[
createParametersColumn] = getTypeInfoValues[indexCREATE_PARAMS];
344
dataTypesRow
[
isAutoIncermentableColumn] = false;
348
dataTypesRow
[
isAutoIncermentableColumn] = true;
351
dataTypesRow
[
isCaseSensitiveColumn] = BooleanFromODBC(getTypeInfoValues[indexCASE_SENSITIVE]);
352
dataTypesRow
[
isFixedPrecisionScaleColumn] = BooleanFromODBC(getTypeInfoValues[indexFIXED_PREC_SCALE]);
360
dataTypesRow
[
isNullableColumn] = false;
364
dataTypesRow
[
isNullableColumn] = true;
368
dataTypesRow
[
isNullableColumn] = DBNull.Value;
380
dataTypesRow
[
isSearchableColumn] = false;
381
dataTypesRow
[
isSearchableWithLikeColumn] = false;
385
dataTypesRow
[
isSearchableColumn] = false;
386
dataTypesRow
[
isSearchableWithLikeColumn] = true;
390
dataTypesRow
[
isSearchableColumn] = true;
391
dataTypesRow
[
isSearchableWithLikeColumn] = false;
395
dataTypesRow
[
isSearchableColumn] = true;
396
dataTypesRow
[
isSearchableWithLikeColumn] = true;
401
dataTypesRow
[
isUnsignedColumn] = BooleanFromODBC(getTypeInfoValues[indexUNSIGNED_ATTRIBUTE]);
406
dataTypesRow
[
maximumScaleColumn] = getTypeInfoValues[indexMAXIMUM_SCALE];
411
dataTypesRow
[
minimumScaleColumn] = getTypeInfoValues[indexMINIMUM_SCALE];
416
dataTypesRow
[
literalPrefixColumn] = getTypeInfoValues[indexLITERAL_PREFIX];
421
dataTypesRow
[
literalSuffixColumn] = getTypeInfoValues[indexLITERAL_SUFFIX];
993
row
[
reservedWordColumn] = values[i];
36 references to
System.Data.Common (27)
System\Data\Common\DbProviderFactories.cs (1)
66
string? assemblyQualifiedName = providerRow
[
assemblyQualifiedNameColumn] as string;
System\Data\DataColumn.cs (3)
1432
if (dr
[
this] == DBNull.Value)
1439
if (DataStorage.IsObjectNull(dr
[
this]))
1688
value = dr
[
this];
System\Data\DataRow.cs (5)
151
object value = this
[
dc];
551
object value = this
[
dc];
1192
value = this
[
dc];
1209
value = this
[
dc];
1243
object value = this
[
key.ColumnsReference[i]];
System\Data\DataRowExtensions.cs (1)
41
return UnboxT<T>.s_unbox(row
[
column]);
System\Data\ProviderBase\SchemaMapping.cs (8)
479
parentChapterValue = dataRow
[
parentChapterColumn];
484
parentChapterValue = dataRow
[
parentChapterColumn];
1146
targetColumn.DefaultValue = schemaRow
[
column];
1152
object value = schemaRow
[
column];
1162
object value = schemaRow
[
column];
1172
object value = schemaRow
[
column];
1182
object value = schemaRow
[
column];
1192
object value = schemaRow
[
column];
System\Data\xmlsaver.cs (3)
2975
value = row
[
col];
2990
value = row
[
col];
3004
value = row
[
col];
System\Xml\XmlDataDocument.cs (5)
1373
object value = row
[
tb._xmlText];
1411
object value = row
[
col];
1749
if (childCol == null || relation == null || Convert.IsDBNull(child
[
childCol]))
1757
object? comparedValue = colInParent.ConvertValue(child
[
childCol]);
2405
if (!oVal.Equals(row
[
col]))
System\Xml\XPathNodePointer.cs (1)
409
colVal = row
[
col];
System.Data.Odbc (9)
src\libraries\Common\src\System\Data\ProviderBase\DbMetaDataFactory.cs (5)
370
if (((string)restriction
[
collectionName] == neededCollectionName) &&
371
((int)restriction
[
restrictionNumber] == neededRestrictionNumber) &&
375
result = (string)restriction
[
parameterName];
514
version = requestedCollectionRow
[
versionColumn];
533
version = requestedCollectionRow
[
versionColumn];
System\Data\Odbc\OdbcMetaDataFactory.cs (4)
86
if ((string)collection
[
populationMechanism] == _prepareCollection)
92
if (_schemaMapping[i]._schemaName == (string)collection
[
collectionName])
113
if ((string)collection
[
collectionName] == (string)restriction
[
restrictionCollectionName])