141 references to DataColumn
System.Data (141)
fx\src\data\System\Data\Common\DataColumnMapping.cs (1)
151return new DataColumn(dataSetColumn, dataType);
fx\src\data\System\Data\Common\DbProviderFactoriesConfigurationHandler.cs (4)
261DataColumn frme = new DataColumn("Name", typeof(string)); 263DataColumn desc = new DataColumn("Description", typeof(string)); 265DataColumn invr = new DataColumn("InvariantName", typeof(string)); 267DataColumn qual = new DataColumn("AssemblyQualifiedName", typeof(string));
fx\src\data\System\Data\Common\DBSchemaRow.cs (1)
25sortindex = new DataColumn(SchemaMappingUnsortedIndex, typeof(Int32)); // MDAC 67050
fx\src\data\System\Data\DataColumnCollection.cs (1)
209DataColumn column = new DataColumn(columnName, type);
fx\src\data\System\Data\DataTableReader.cs (25)
608DataColumn ColumnName = new DataColumn(SchemaTableColumn.ColumnName, typeof(System.String)); 609DataColumn ColumnOrdinal = new DataColumn(SchemaTableColumn.ColumnOrdinal, typeof(System.Int32)); 610DataColumn ColumnSize = new DataColumn(SchemaTableColumn.ColumnSize, typeof(System.Int32)); 611DataColumn NumericPrecision = new DataColumn(SchemaTableColumn.NumericPrecision, typeof(System.Int16)); 612DataColumn NumericScale = new DataColumn(SchemaTableColumn.NumericScale, typeof(System.Int16)); 613DataColumn DataType = new DataColumn(SchemaTableColumn.DataType, typeof(System.Type)); 614DataColumn ProviderType = new DataColumn(SchemaTableColumn.ProviderType, typeof(System.Int32)); 615DataColumn IsLong = new DataColumn(SchemaTableColumn.IsLong, typeof(System.Boolean)); 616DataColumn AllowDBNull = new DataColumn(SchemaTableColumn.AllowDBNull, typeof(System.Boolean)); 617DataColumn IsReadOnly = new DataColumn(SchemaTableOptionalColumn.IsReadOnly, typeof(System.Boolean)); 618DataColumn IsRowVersion = new DataColumn(SchemaTableOptionalColumn.IsRowVersion, typeof(System.Boolean)); 619DataColumn IsUnique = new DataColumn(SchemaTableColumn.IsUnique, typeof(System.Boolean)); 620DataColumn IsKeyColumn = new DataColumn(SchemaTableColumn.IsKey, typeof(System.Boolean)); 621DataColumn IsAutoIncrement = new DataColumn(SchemaTableOptionalColumn.IsAutoIncrement, typeof(System.Boolean)); 622DataColumn BaseSchemaName = new DataColumn(SchemaTableColumn.BaseSchemaName, typeof(System.String)); 623DataColumn BaseCatalogName = new DataColumn(SchemaTableOptionalColumn.BaseCatalogName, typeof(System.String)); 624DataColumn BaseTableName = new DataColumn(SchemaTableColumn.BaseTableName, typeof(System.String)); 625DataColumn BaseColumnName = new DataColumn(SchemaTableColumn.BaseColumnName, typeof(System.String)); 626DataColumn AutoIncrementSeed = new DataColumn(SchemaTableOptionalColumn.AutoIncrementSeed, typeof(System.Int64)); 627DataColumn AutoIncrementStep = new DataColumn(SchemaTableOptionalColumn.AutoIncrementStep, typeof(System.Int64)); 628DataColumn DefaultValue = new DataColumn(SchemaTableOptionalColumn.DefaultValue, typeof(System.Object)); 629DataColumn Expression = new DataColumn(SchemaTableOptionalColumn.Expression, typeof(System.String)); 630DataColumn ColumnMapping = new DataColumn(SchemaTableOptionalColumn.ColumnMapping, typeof(System.Data.MappingType)); 631DataColumn BaseTableNamespace = new DataColumn(SchemaTableOptionalColumn.BaseTableNamespace, typeof(System.String)); 632DataColumn BaseColumnNamespace = new DataColumn(SchemaTableOptionalColumn.BaseColumnNamespace, typeof(System.String));
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (18)
1928columns.Add(new DataColumn("ColumnName", typeof(System.String))); 1929columns.Add(new DataColumn("ColumnOrdinal", typeof(System.Int32))); // UInt32 1930columns.Add(new DataColumn("ColumnSize", typeof(System.Int32))); // UInt32 1931columns.Add(new DataColumn("NumericPrecision", typeof(System.Int16))); // UInt16 1932columns.Add(new DataColumn("NumericScale", typeof(System.Int16))); 1933columns.Add(new DataColumn("DataType", typeof(System.Object))); 1934columns.Add(new DataColumn("ProviderType", typeof(System.Int32))); 1935columns.Add(new DataColumn("IsLong", typeof(System.Boolean))); 1936columns.Add(new DataColumn("AllowDBNull", typeof(System.Boolean))); 1937columns.Add(new DataColumn("IsReadOnly", typeof(System.Boolean))); 1938columns.Add(new DataColumn("IsRowVersion", typeof(System.Boolean))); 1939columns.Add(new DataColumn("IsUnique", typeof(System.Boolean))); 1940columns.Add(new DataColumn("IsKey", typeof(System.Boolean))); 1941columns.Add(new DataColumn("IsAutoIncrement", typeof(System.Boolean))); 1942columns.Add(new DataColumn("BaseSchemaName", typeof(System.String))); 1943columns.Add(new DataColumn("BaseCatalogName", typeof(System.String))); 1944columns.Add(new DataColumn("BaseTableName", typeof(System.String))); 1945columns.Add(new DataColumn("BaseColumnName", typeof(System.String)));
fx\src\data\System\Data\OleDb\OleDbConnectionInternal.cs (9)
378DataColumn literalName = new DataColumn("LiteralName", typeof(String)); 379DataColumn literalValue = new DataColumn("LiteralValue", typeof(String)); 380DataColumn invalidChars = new DataColumn("InvalidChars", typeof(String)); 381DataColumn invalidStart = new DataColumn("InvalidStartingChars", typeof(String)); 382DataColumn literal = new DataColumn("Literal", typeof(Int32)); 383DataColumn maxlen = new DataColumn("Maxlen", typeof(Int32)); 431DataColumn keyword = new DataColumn(ODB.Keyword, typeof(String)); 477DataColumn schemaGuid = new DataColumn(ODB.Schema, typeof(Guid)); 478DataColumn restrictionSupport = new DataColumn(ODB.RestrictionSupport, typeof(Int32));
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (19)
306DataColumn name = new DataColumn("ColumnName", typeof(System.String)); 307DataColumn ordinal = new DataColumn("ColumnOrdinal", typeof(System.Int32)); 308DataColumn size = new DataColumn("ColumnSize", typeof(System.Int32)); 309DataColumn precision = new DataColumn("NumericPrecision", typeof(System.Int16)); 310DataColumn scale = new DataColumn("NumericScale", typeof(System.Int16)); 312DataColumn dataType = new DataColumn("DataType", typeof(System.Type)); 313DataColumn providerType = new DataColumn("ProviderType", typeof(System.Int32)); 315DataColumn isLong = new DataColumn("IsLong", typeof(System.Boolean)); 316DataColumn allowDBNull = new DataColumn("AllowDBNull", typeof(System.Boolean)); 317DataColumn isReadOnly = new DataColumn("IsReadOnly", typeof(System.Boolean)); 318DataColumn isRowVersion = new DataColumn("IsRowVersion", typeof(System.Boolean)); 320DataColumn isUnique = new DataColumn("IsUnique", typeof(System.Boolean)); 321DataColumn isKey = new DataColumn("IsKey", typeof(System.Boolean)); 322DataColumn isAutoIncrement = new DataColumn("IsAutoIncrement", typeof(System.Boolean)); 323DataColumn isHidden = new DataColumn("IsHidden", typeof(System.Boolean)); 325DataColumn baseSchemaName = new DataColumn("BaseSchemaName", typeof(System.String)); 326DataColumn baseCatalogName = new DataColumn("BaseCatalogName", typeof(System.String)); 327DataColumn baseTableName = new DataColumn("BaseTableName", typeof(System.String)); 328DataColumn baseColumnName = new DataColumn("BaseColumnName", typeof(System.String));
fx\src\data\System\Data\ProviderBase\DbMetaDataFactory.cs (1)
229newDestinationColumn = new DataColumn(sourceColumn.ColumnName,sourceColumn.DataType);
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (31)
430DataColumn ColumnName = new DataColumn(SchemaTableColumn.ColumnName, typeof(System.String)); 431DataColumn Ordinal = new DataColumn(SchemaTableColumn.ColumnOrdinal, typeof(System.Int32)); 432DataColumn Size = new DataColumn(SchemaTableColumn.ColumnSize, typeof(System.Int32)); 433DataColumn Precision = new DataColumn(SchemaTableColumn.NumericPrecision, typeof(System.Int16)); 434DataColumn Scale = new DataColumn(SchemaTableColumn.NumericScale, typeof(System.Int16)); 436DataColumn DataType = new DataColumn(SchemaTableColumn.DataType, typeof(System.Type)); 437DataColumn ProviderSpecificDataType = new DataColumn(SchemaTableOptionalColumn.ProviderSpecificDataType, typeof(System.Type)); 438DataColumn NonVersionedProviderType = new DataColumn(SchemaTableColumn.NonVersionedProviderType, typeof(System.Int32)); 439DataColumn ProviderType = new DataColumn(SchemaTableColumn.ProviderType, typeof(System.Int32)); 441DataColumn IsLong = new DataColumn(SchemaTableColumn.IsLong, typeof(System.Boolean)); 442DataColumn AllowDBNull = new DataColumn(SchemaTableColumn.AllowDBNull, typeof(System.Boolean)); 443DataColumn IsReadOnly = new DataColumn(SchemaTableOptionalColumn.IsReadOnly, typeof(System.Boolean)); 444DataColumn IsRowVersion = new DataColumn(SchemaTableOptionalColumn.IsRowVersion, typeof(System.Boolean)); 446DataColumn IsUnique = new DataColumn(SchemaTableColumn.IsUnique, typeof(System.Boolean)); 447DataColumn IsKey = new DataColumn(SchemaTableColumn.IsKey, typeof(System.Boolean)); 448DataColumn IsAutoIncrement = new DataColumn(SchemaTableOptionalColumn.IsAutoIncrement, typeof(System.Boolean)); 449DataColumn IsHidden = new DataColumn(SchemaTableOptionalColumn.IsHidden, typeof(System.Boolean)); 451DataColumn BaseCatalogName = new DataColumn(SchemaTableOptionalColumn.BaseCatalogName, typeof(System.String)); 452DataColumn BaseSchemaName = new DataColumn(SchemaTableColumn.BaseSchemaName, typeof(System.String)); 453DataColumn BaseTableName = new DataColumn(SchemaTableColumn.BaseTableName, typeof(System.String)); 454DataColumn BaseColumnName = new DataColumn(SchemaTableColumn.BaseColumnName, typeof(System.String)); 457DataColumn BaseServerName = new DataColumn(SchemaTableOptionalColumn.BaseServerName, typeof(System.String)); 458DataColumn IsAliased = new DataColumn(SchemaTableColumn.IsAliased, typeof(System.Boolean)); 459DataColumn IsExpression = new DataColumn(SchemaTableColumn.IsExpression, typeof(System.Boolean)); 460DataColumn IsIdentity = new DataColumn("IsIdentity", typeof(System.Boolean)); 461DataColumn DataTypeName = new DataColumn("DataTypeName", typeof(System.String)); 462DataColumn UdtAssemblyQualifiedName = new DataColumn("UdtAssemblyQualifiedName", typeof(System.String)); 464DataColumn XmlSchemaCollectionDatabase = new DataColumn("XmlSchemaCollectionDatabase", typeof(System.String)); 465DataColumn XmlSchemaCollectionOwningSchema = new DataColumn("XmlSchemaCollectionOwningSchema", typeof(System.String)); 466DataColumn XmlSchemaCollectionName = new DataColumn("XmlSchemaCollectionName", typeof(System.String)); 468DataColumn IsColumnSet = new DataColumn("IsColumnSet", typeof(System.Boolean));
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (31)
470DataColumn ColumnName = new DataColumn(SchemaTableColumn.ColumnName, typeof(System.String)); 471DataColumn Ordinal = new DataColumn(SchemaTableColumn.ColumnOrdinal, typeof(System.Int32)); 472DataColumn Size = new DataColumn(SchemaTableColumn.ColumnSize, typeof(System.Int32)); 473DataColumn Precision = new DataColumn(SchemaTableColumn.NumericPrecision, typeof(System.Int16)); 474DataColumn Scale = new DataColumn(SchemaTableColumn.NumericScale, typeof(System.Int16)); 476DataColumn DataType = new DataColumn(SchemaTableColumn.DataType, typeof(System.Type)); 477DataColumn ProviderSpecificDataType = new DataColumn(SchemaTableOptionalColumn.ProviderSpecificDataType, typeof(System.Type)); 478DataColumn ProviderType = new DataColumn(SchemaTableColumn.ProviderType, typeof(System.Int32)); 479DataColumn NonVersionedProviderType = new DataColumn(SchemaTableColumn.NonVersionedProviderType, typeof(System.Int32)); 481DataColumn IsLong = new DataColumn(SchemaTableColumn.IsLong, typeof(System.Boolean)); 482DataColumn AllowDBNull = new DataColumn(SchemaTableColumn.AllowDBNull, typeof(System.Boolean)); 483DataColumn IsReadOnly = new DataColumn(SchemaTableOptionalColumn.IsReadOnly, typeof(System.Boolean)); 484DataColumn IsRowVersion = new DataColumn(SchemaTableOptionalColumn.IsRowVersion, typeof(System.Boolean)); 486DataColumn IsUnique = new DataColumn(SchemaTableColumn.IsUnique, typeof(System.Boolean)); 487DataColumn IsKey = new DataColumn(SchemaTableColumn.IsKey, typeof(System.Boolean)); 488DataColumn IsAutoIncrement = new DataColumn(SchemaTableOptionalColumn.IsAutoIncrement, typeof(System.Boolean)); 489DataColumn IsHidden = new DataColumn(SchemaTableOptionalColumn.IsHidden, typeof(System.Boolean)); 491DataColumn BaseCatalogName = new DataColumn(SchemaTableOptionalColumn.BaseCatalogName, typeof(System.String)); 492DataColumn BaseSchemaName = new DataColumn(SchemaTableColumn.BaseSchemaName, typeof(System.String)); 493DataColumn BaseTableName = new DataColumn(SchemaTableColumn.BaseTableName, typeof(System.String)); 494DataColumn BaseColumnName = new DataColumn(SchemaTableColumn.BaseColumnName, typeof(System.String)); 497DataColumn BaseServerName = new DataColumn(SchemaTableOptionalColumn.BaseServerName, typeof(System.String)); 498DataColumn IsAliased = new DataColumn(SchemaTableColumn.IsAliased, typeof(System.Boolean)); 499DataColumn IsExpression = new DataColumn(SchemaTableColumn.IsExpression, typeof(System.Boolean)); 500DataColumn IsIdentity = new DataColumn("IsIdentity", typeof(System.Boolean)); 502DataColumn DataTypeName = new DataColumn("DataTypeName", typeof(System.String)); 503DataColumn UdtAssemblyQualifiedName = new DataColumn("UdtAssemblyQualifiedName", typeof(System.String)); 505DataColumn XmlSchemaCollectionDatabase = new DataColumn("XmlSchemaCollectionDatabase", typeof(System.String)); 506DataColumn XmlSchemaCollectionOwningSchema = new DataColumn("XmlSchemaCollectionOwningSchema", typeof(System.String)); 507DataColumn XmlSchemaCollectionName = new DataColumn("XmlSchemaCollectionName", typeof(System.String)); 509DataColumn IsColumnSet = new DataColumn("IsColumnSet", typeof(System.Boolean));