3 writes to metadata
System.Data (3)
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (3)
318
this.
metadata
= null;
1702
this.
metadata
= null;
1889
this.
metadata
= metaInfos;
42 references to metadata
System.Data (42)
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (42)
1974
if (this.
metadata
== null) {
2005
row[columnSize] = unchecked((int)Math.Min(Math.Max(Int32.MinValue,
metadata
[i].size.ToInt64()), Int32.MaxValue));
2006
row[numericPrecision] = (Int16)
metadata
[i].precision;
2007
row[numericScale] = (Int16)
metadata
[i].scale;
2008
row[dataType] =
metadata
[i].typemap._type; //DataType
2009
row[providerType] =
metadata
[i].typemap._odbcType; // ProviderType
2010
row[isLong] =
metadata
[i].isLong; // IsLong
2011
row[allowDBNull] =
metadata
[i].isNullable; //AllowDBNull
2012
row[isReadOnly] =
metadata
[i].isReadOnly; // IsReadOnly
2013
row[isRowVersion] =
metadata
[i].isRowVersion; //IsRowVersion
2014
row[isUnique] =
metadata
[i].isUnique; //IsUnique
2015
row[isKey] =
metadata
[i].isKeyColumn; // IsKey
2016
row[isAutoIncrement] =
metadata
[i].isAutoIncrement; //IsAutoIncrement
2019
row[baseSchemaName] =
metadata
[i].baseSchemaName;
2021
row[baseCatalogName] =
metadata
[i].baseCatalogName;
2023
row[baseTableName] =
metadata
[i].baseTableName ;
2025
row[baseColumnName] =
metadata
[i].baseColumnName;
2079
this.
metadata
[ordinal].isKeyColumn = true;
2080
this.
metadata
[ordinal].isUnique = true;
2081
this.
metadata
[ordinal].isNullable = false;
2082
this.
metadata
[ordinal].baseTableName = qualifiedTableName.Table;
2084
if (this.
metadata
[ordinal].baseColumnName == null) {
2085
this.
metadata
[ordinal].baseColumnName = columnname;
2103
foreach (MetaData metadata in this.
metadata
) {
2148
this.
metadata
[ordinal].isRowVersion = true;
2149
if (this.
metadata
[ordinal].baseColumnName == null) {
2150
this.
metadata
[ordinal].baseColumnName = columnname;
2327
this.
metadata
[indexordinal].isKeyColumn = true;
2332
this.
metadata
[indexordinal].isNullable = false;
2333
this.
metadata
[indexordinal].isUnique = true;
2334
if (this.
metadata
[indexordinal].baseTableName == null) {
2335
this.
metadata
[indexordinal].baseTableName = qualifiedTableName.Table;
2337
if (this.
metadata
[indexordinal].baseColumnName == null) {
2338
this.
metadata
[indexordinal].baseColumnName = columnname;
2373
if (this.
metadata
!= null) {
2376
if ( (this.
metadata
[i].baseColumnName != null) &&
2377
(columnname == this.
metadata
[i].baseColumnName)) {
2379
if (tablename == this.
metadata
[i].baseTableName) {
2454
if (
metadata
[i].baseTableName == null) {
2455
metadata
[i].baseTableName = qualifiedTableName.Table;
2456
metadata
[i].baseSchemaName = qualifiedTableName.Schema;
2457
metadata
[i].baseCatalogName = qualifiedTableName.Catalog;