3 writes to _metadata
System.Data.Odbc (3)
System\Data\Odbc\OdbcDataReader.cs (3)
372
_metadata
= null;
1937
_metadata
= null;
2145
_metadata
= metaInfos;
40 references to _metadata
System.Data.Odbc (40)
System\Data\Odbc\OdbcDataReader.cs (40)
2244
if (
_metadata
== null)
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;
2308
Debug.Assert(
_metadata
!= null);
2360
_metadata
[ordinal].isKeyColumn = true;
2361
_metadata
[ordinal].isUnique = true;
2362
_metadata
[ordinal].isNullable = false;
2363
_metadata
[ordinal].baseTableName = qualifiedTableName.Table;
2365
_metadata
[ordinal].baseColumnName ??= columnname;
2384
foreach (MetaData metadata in
_metadata
)
2436
_metadata
[ordinal].isRowVersion = true;
2437
_metadata
[ordinal].baseColumnName ??= columnname;
2472
Debug.Assert(
_metadata
!= null);
2630
_metadata
[indexordinal].isKeyColumn = true;
2635
_metadata
[indexordinal].isNullable = false;
2636
_metadata
[indexordinal].isUnique = true;
2637
_metadata
[indexordinal].baseTableName ??= qualifiedTableName.Table;
2638
_metadata
[indexordinal].baseColumnName ??= columnname;
2677
if (
_metadata
!= null)
2682
if ((
_metadata
[i].baseColumnName != null) &&
2683
(columnname ==
_metadata
[i].baseColumnName))
2687
if (tablename ==
_metadata
[i].baseTableName)
2772
if (
_metadata
![i].baseTableName == null)
2774
_metadata
[i].baseTableName = qualifiedTableName.Table;
2775
_metadata
[i].baseSchemaName = qualifiedTableName.Schema;
2776
_metadata
[i].baseCatalogName = qualifiedTableName.Catalog;