51 references to DataColumn
System.Data.Common (32)
System\Data\Common\DataColumnMapping.cs (1)
127
return new
DataColumn
(dataSetColumn, dataType!);
System\Data\Common\DbProviderFactories.cs (4)
85
DataColumn nameColumn = new
DataColumn
(NameColumnName, typeof(string)) { ReadOnly = true };
86
DataColumn descriptionColumn = new
DataColumn
(DescriptionColumnName, typeof(string)) { ReadOnly = true };
87
DataColumn invariantNameColumn = new
DataColumn
(InvariantNameColumnName, typeof(string)) { ReadOnly = true };
88
DataColumn assemblyQualifiedNameColumn = new
DataColumn
(AssemblyQualifiedNameColumnName, typeof(string)) { ReadOnly = true };
System\Data\Common\DBSchemaRow.cs (1)
21
sortindex = new
DataColumn
(SchemaMappingUnsortedIndex, typeof(int));
System\Data\DataColumnCollection.cs (1)
229
var column = new
DataColumn
(columnName, type);
System\Data\DataTableReader.cs (25)
715
DataColumn ColumnName = new
DataColumn
(SchemaTableColumn.ColumnName, typeof(string));
716
DataColumn ColumnOrdinal = new
DataColumn
(SchemaTableColumn.ColumnOrdinal, typeof(int));
717
DataColumn ColumnSize = new
DataColumn
(SchemaTableColumn.ColumnSize, typeof(int));
718
DataColumn NumericPrecision = new
DataColumn
(SchemaTableColumn.NumericPrecision, typeof(short));
719
DataColumn NumericScale = new
DataColumn
(SchemaTableColumn.NumericScale, typeof(short));
726
new
DataColumn
(SchemaTableColumn.DataType, typeof(Type));
728
DataColumn ProviderType = new
DataColumn
(SchemaTableColumn.ProviderType, typeof(int));
729
DataColumn IsLong = new
DataColumn
(SchemaTableColumn.IsLong, typeof(bool));
730
DataColumn AllowDBNull = new
DataColumn
(SchemaTableColumn.AllowDBNull, typeof(bool));
731
DataColumn IsReadOnly = new
DataColumn
(SchemaTableOptionalColumn.IsReadOnly, typeof(bool));
732
DataColumn IsRowVersion = new
DataColumn
(SchemaTableOptionalColumn.IsRowVersion, typeof(bool));
733
DataColumn IsUnique = new
DataColumn
(SchemaTableColumn.IsUnique, typeof(bool));
734
DataColumn IsKeyColumn = new
DataColumn
(SchemaTableColumn.IsKey, typeof(bool));
735
DataColumn IsAutoIncrement = new
DataColumn
(SchemaTableOptionalColumn.IsAutoIncrement, typeof(bool));
736
DataColumn BaseSchemaName = new
DataColumn
(SchemaTableColumn.BaseSchemaName, typeof(string));
737
DataColumn BaseCatalogName = new
DataColumn
(SchemaTableOptionalColumn.BaseCatalogName, typeof(string));
738
DataColumn BaseTableName = new
DataColumn
(SchemaTableColumn.BaseTableName, typeof(string));
739
DataColumn BaseColumnName = new
DataColumn
(SchemaTableColumn.BaseColumnName, typeof(string));
740
DataColumn AutoIncrementSeed = new
DataColumn
(SchemaTableOptionalColumn.AutoIncrementSeed, typeof(long));
741
DataColumn AutoIncrementStep = new
DataColumn
(SchemaTableOptionalColumn.AutoIncrementStep, typeof(long));
742
DataColumn DefaultValue = new
DataColumn
(SchemaTableOptionalColumn.DefaultValue, typeof(object));
743
DataColumn Expression = new
DataColumn
(SchemaTableOptionalColumn.Expression, typeof(string));
744
DataColumn ColumnMapping = new
DataColumn
(SchemaTableOptionalColumn.ColumnMapping, typeof(MappingType));
745
DataColumn BaseTableNamespace = new
DataColumn
(SchemaTableOptionalColumn.BaseTableNamespace, typeof(string));
746
DataColumn BaseColumnNamespace = new
DataColumn
(SchemaTableOptionalColumn.BaseColumnNamespace, typeof(string));
System.Data.Odbc (19)
src\libraries\Common\src\System\Data\ProviderBase\DbMetaDataFactory.cs (1)
213
DataColumn newDestinationColumn = new
DataColumn
(sourceColumn.ColumnName, sourceColumn.DataType);
System\Data\Odbc\OdbcDataReader.cs (18)
2192
columns.Add(new
DataColumn
("ColumnName", typeof(string)));
2193
columns.Add(new
DataColumn
("ColumnOrdinal", typeof(int))); // UInt32
2194
columns.Add(new
DataColumn
("ColumnSize", typeof(int))); // UInt32
2195
columns.Add(new
DataColumn
("NumericPrecision", typeof(short))); // UInt16
2196
columns.Add(new
DataColumn
("NumericScale", typeof(short)));
2197
columns.Add(new
DataColumn
("DataType", typeof(object)));
2198
columns.Add(new
DataColumn
("ProviderType", typeof(int)));
2199
columns.Add(new
DataColumn
("IsLong", typeof(bool)));
2200
columns.Add(new
DataColumn
("AllowDBNull", typeof(bool)));
2201
columns.Add(new
DataColumn
("IsReadOnly", typeof(bool)));
2202
columns.Add(new
DataColumn
("IsRowVersion", typeof(bool)));
2203
columns.Add(new
DataColumn
("IsUnique", typeof(bool)));
2204
columns.Add(new
DataColumn
("IsKey", typeof(bool)));
2205
columns.Add(new
DataColumn
("IsAutoIncrement", typeof(bool)));
2206
columns.Add(new
DataColumn
("BaseSchemaName", typeof(string)));
2207
columns.Add(new
DataColumn
("BaseCatalogName", typeof(string)));
2208
columns.Add(new
DataColumn
("BaseTableName", typeof(string)));
2209
columns.Add(new
DataColumn
("BaseColumnName", typeof(string)));