fx\src\data\System\Data\CodeGen\datacache.cs (25)
203private string RowColumnPropertyName(DataColumn column) {
211private string TableColumnFieldName(DataColumn column) {
218private string TableColumnPropertyName(DataColumn column) {
325dataTableClass.Members.Add(FieldDecl(typeof(DataColumn), TableColumnFieldName(table.Columns[i])));
403DataColumn column = table.Columns[i];
404CodeMemberProperty colProp = PropertyDecl(typeof(DataColumn), TableColumnPropertyName(column), MemberAttributes.Assembly | MemberAttributes.Final); {
443DataColumn[] index = new DataColumn[parameterColumnList.Count];
465index = new DataColumn[table.Columns.Count];
502DataColumn[] index = ((UniqueConstraint)table.Constraints[j]).ColumnsReference;
569DataColumn column = table.Columns[i];
576New(typeof(DataColumn),
600DataColumn[] columns = uc.ColumnsReference;
610new CodeArrayCreateExpression(typeof(DataColumn), createArgs),
618DataColumn column = table.Columns[i];
774foreach(DataColumn col in table.Columns) {
1279CodeArrayCreateExpression childrenColumns = new CodeArrayCreateExpression(typeof(DataColumn), 0); {
1280foreach(DataColumn c in fkc.Columns) {
1285CodeArrayCreateExpression parentColumns = new CodeArrayCreateExpression(typeof(DataColumn), 0); {
1286foreach(DataColumn c in fkc.RelatedColumnsReference) {
1323CodeArrayCreateExpression parentColCreate = new CodeArrayCreateExpression(typeof(DataColumn), 0); {
1325foreach(DataColumn column in relation.ParentColumnsReference) {
1330CodeArrayCreateExpression childColCreate = new CodeArrayCreateExpression(typeof(DataColumn), 0); {
1332foreach(DataColumn column in relation.ChildColumnsReference) {
1394DataColumn column = table.Columns[i];
fx\src\data\System\Data\Common\DataAdapter.cs (3)
531internal int FillFromReader(DataSet dataset, DataTable datatable, string srcTable, DataReaderContainer dataReader, int startRecord, int maxRecords, DataColumn parentChapterColumn, object parentChapterValue) {
652private SchemaMapping FillMappingInternal(DataSet dataset, DataTable datatable, string srcTable, DataReaderContainer dataReader, int schemaCount, DataColumn parentChapterColumn, object parentChapterValue) {
661private SchemaMapping FillMapping(DataSet dataset, DataTable datatable, string srcTable, DataReaderContainer dataReader, int schemaCount, DataColumn parentChapterColumn, object parentChapterValue) {
fx\src\data\System\Data\Common\DataColumnMapping.cs (4)
85public DataColumn GetDataColumnBySchemaAction(DataTable dataTable, Type dataType, MissingSchemaAction schemaAction) {
90static public DataColumn GetDataColumnBySchemaAction(string sourceColumn, string dataSetColumn, DataTable dataTable, Type dataType, MissingSchemaAction schemaAction) {
107DataColumn dataColumn = columns[index];
137static internal DataColumn CreateDataColumnBySchemaAction(string sourceColumn, string dataSetColumn, DataTable dataTable, Type dataType, MissingSchemaAction schemaAction) {
fx\src\data\System\Data\Common\DataStorage.cs (5)
117internal readonly DataColumn Column;
134protected DataStorage(DataColumn column, Type type, object defaultValue, StorageType storageType)
138protected DataStorage(DataColumn column, Type type, object defaultValue, object nullValue, StorageType storageType)
142protected DataStorage(DataColumn column, Type type, object defaultValue, object nullValue, bool isICloneable, StorageType storageType) {
261public static DataStorage CreateStorage(DataColumn column, Type dataType, StorageType typeCode) {
fx\src\data\System\Data\ConstraintCollection.cs (19)
148/// specified array of <see cref='System.Data.DataColumn'/>
151public Constraint Add(string name, DataColumn[] columns, bool primaryKey) {
161/// specified <see cref='System.Data.DataColumn'/> and adds it to the collection.</para>
163public Constraint Add(string name, DataColumn column, bool primaryKey) {
178public Constraint Add(string name, DataColumn primaryKeyColumn, DataColumn foreignKeyColumn) {
188public Constraint Add(string name, DataColumn[] primaryKeyColumns, DataColumn[] foreignKeyColumns) {
212DataColumn[] columns = constraint.ColumnsReference;
467internal UniqueConstraint FindKeyConstraint(DataColumn[] columns) {
481internal UniqueConstraint FindKeyConstraint(DataColumn column) {
494internal ForeignKeyConstraint FindForeignKeyConstraint(DataColumn[] parentColumns, DataColumn[] childColumns) {
506private static bool CompareArrays(DataColumn[] a1, DataColumn[] a2) {
674DataColumn[] parents, childs;
686parents = new DataColumn[colCount];
715parents = new DataColumn[colCount];
716childs = new DataColumn[colCount];
fx\src\data\System\Data\DataColumnCollection.cs (75)
20/// <para>Represents a collection of <see cref='System.Data.DataColumn'/>
32private DataColumn[] delayedAddRangeColumns;
34private readonly Dictionary<string, DataColumn> columnFromName; // Links names to columns
42private DataColumn[] columnsImplementingIChangeTracking = DataTable.zeroColumns;
51columnFromName = new Dictionary<string, DataColumn>();
63internal DataColumn[] ColumnsImplementingIChangeTracking {
80/// Gets the <see cref='System.Data.DataColumn'/>
84public DataColumn this[int index] {
87return (DataColumn)_list[index];
96/// <para>Gets the <see cref='System.Data.DataColumn'/> from the collection with the specified name.</para>
98public DataColumn this[string name] {
103DataColumn column;
108column = (DataColumn)_list[index];
118internal DataColumn this[string name, string ns] {
120DataColumn column;
136/// <para>Adds the specified <see cref='System.Data.DataColumn'/>
139public void Add(DataColumn column) {
143internal void AddAt(int index, DataColumn column) {
177public void AddRange(DataColumn[] columns) {
184foreach(DataColumn column in columns) {
193/// <para>Creates and adds a <see cref='System.Data.DataColumn'/>
197public DataColumn Add(string columnName, Type type, string expression) {
198DataColumn column = new DataColumn(columnName, type, expression);
204/// <para>Creates and adds a <see cref='System.Data.DataColumn'/>
208public DataColumn Add(string columnName, Type type) {
209DataColumn column = new DataColumn(columnName, type);
215/// <para>Creates and adds a <see cref='System.Data.DataColumn'/>
218public DataColumn Add(string columnName) {
219DataColumn column = new DataColumn(columnName);
225/// <para>Creates and adds a <see cref='System.Data.DataColumn'/> to a columns collection.</para>
227public DataColumn Add() {
228DataColumn column = new DataColumn();
268private void ArrayAdd(DataColumn column) {
274private void ArrayAdd(int index, DataColumn column) {
279private void ArrayRemove(DataColumn column) {
285((DataColumn) _list[i]).SetOrdinalInternal(i);
312private void BaseAdd(DataColumn column) {
358private void BaseGroupSwitch(DataColumn[] oldArray, int oldLength, DataColumn[] newArray, int newLength) {
401private void BaseRemove(DataColumn column) {
420public bool CanRemove(DataColumn column) {
424internal bool CanRemove(DataColumn column, bool fThrowException) {
484DataColumn col = column.dependentColumns[i];
522private void CheckIChangeTracking(DataColumn column) {
542DataColumn[] columns = new DataColumn[_list.Count];
578DataColumn column;
587DataColumn column;
600public void CopyTo(DataColumn[] array, int index) {
608array[index + i] = (DataColumn)_list[i];
614/// Returns the index of a specified <see cref='System.Data.DataColumn'/>.
617public int IndexOf(DataColumn column) {
620if (column == (DataColumn) _list[i]) {
635DataColumn column;
653DataColumn column = null;
655column = (DataColumn) _list[i];
669foreach(DataColumn column in delayedAddRangeColumns) {
675foreach(DataColumn column in delayedAddRangeColumns) {
695internal void MoveTo(DataColumn column, int newPosition) {
706((DataColumn) _list[i]).SetOrdinalInternal(i);
721DataColumn column = (DataColumn)ccevent.Element;
750internal void RegisterColumnName(string name, DataColumn column) {
786/// <para>Removes the specified <see cref='System.Data.DataColumn'/>
789public void Remove(DataColumn column) {
804DataColumn dc = this[index];
815DataColumn dc = this[name];
837private void AddColumnsImplementingIChangeTrackingList(DataColumn dataColumn) {
838DataColumn[] columns = columnsImplementingIChangeTracking;
839DataColumn[] tempColumns = new DataColumn[columns.Length +1];
845private void RemoveColumnsImplementingIChangeTrackingList(DataColumn dataColumn) {
846DataColumn[] columns = columnsImplementingIChangeTracking;
847DataColumn[] tempColumns = new DataColumn[columns.Length - 1];
fx\src\data\System\Data\DataRelation.cs (24)
92public DataRelation(string relationName, DataColumn parentColumn, DataColumn childColumn)
102public DataRelation(string relationName, DataColumn parentColumn, DataColumn childColumn, bool createConstraints) {
107DataColumn[] parentColumns = new DataColumn[1];
109DataColumn[] childColumns = new DataColumn[1];
120public DataRelation(string relationName, DataColumn[] parentColumns, DataColumn[] childColumns)
130public DataRelation(string relationName, DataColumn[] parentColumns, DataColumn[] childColumns, bool createConstraints) {
171public virtual DataColumn[] ChildColumns {
178internal DataColumn[] ChildColumnsReference {
321public virtual DataColumn[] ParentColumns {
328internal DataColumn[] ParentColumnsReference {
668private void Create(string relationName, DataColumn[] parentColumns, DataColumn[] childColumns, bool createConstraints) {
702DataColumn[] parentColumns = new DataColumn[keyLength];
703DataColumn[] childColumns = new DataColumn[keyLength];
752DataColumn[] childCols = ChildColumns;
779private bool IsAutoGenerated(DataColumn col) {
fx\src\data\System\Data\DataRelationCollection.cs (15)
104public virtual DataRelation Add(string name, DataColumn[] parentColumns, DataColumn[] childColumns) {
118public virtual DataRelation Add(string name, DataColumn[] parentColumns, DataColumn[] childColumns, bool createConstraints) {
131public virtual DataRelation Add(DataColumn[] parentColumns, DataColumn[] childColumns) {
146public virtual DataRelation Add(string name, DataColumn parentColumn, DataColumn childColumn) {
161public virtual DataRelation Add(string name, DataColumn parentColumn, DataColumn childColumn, bool createConstraints) {
174public virtual DataRelation Add(DataColumn parentColumn, DataColumn childColumn) {
780DataColumn[] parents, childs;
789parents = new DataColumn[colCount];
790childs = new DataColumn[colCount];
fx\src\data\System\Data\DataTable.cs (67)
93internal DataColumn xmlText; // text values of a complex xml element
94internal DataColumn _colUnique;
103internal readonly static DataColumn[] zeroColumns = new DataColumn[0];
108private DataColumn[] delayedSetPrimaryKey = null;
139internal List<DataColumn> dependentColumns = null;
424DataColumn dc = new DataColumn();
557DataColumn[] keyColumns = new DataColumn[keyColumnIndexes.Length];
579DataColumn[] parentkeyColumns = new DataColumn[parentInfo.Length - 1];
586DataColumn[] childkeyColumns = new DataColumn[childInfo.Length - 1];
812DataColumn[] dcArr = row.GetColumnsInError();
1240foreach (DataColumn column in Columns) {
1379foreach(DataColumn column in Columns) {
1529public DataColumn[] PrimaryKey {
1558DataColumn[] newValue = value;
1560newValue = new DataColumn[count];
1847foreach (DataColumn col in Columns)
1890foreach(DataColumn dc in Columns){
1934internal DataColumn XmlText {
2094DataColumn[] cols = row.GetColumnsInError();
2097DataColumn col = targetRow.Table.Columns[cols[i].ColumnName];
2164foreach(DataColumn dc in sourceTable.Columns) {
2248DataColumn[] pkey = PrimaryKey;
2250DataColumn[] key = new DataColumn[pkey.Length];
2588DataColumn column = columnCollection[i];
2661foreach(DataColumn column in Columns) {
2765DataColumn[] cols = row.GetColumnsInError();
2768DataColumn col = targetRow.Table.Columns[cols[i].ColumnName];
2981DataColumn[] cols = row.GetColumnsInError();
2984DataColumn col = targetRow.Table.Columns[cols[i].ColumnName];
3154foreach( DataColumn c in this.Columns ) {
3253internal void OnRemoveColumnInternal(DataColumn column) {
3258/// <para>Notifies the <see cref='System.Data.DataTable'/> that a <see cref='System.Data.DataColumn'/> is
3261protected virtual void OnRemoveColumn(DataColumn column) {
3396DataColumn column = Columns[current];
3545internal void SilentlySetValue(DataRow dr, DataColumn dc, DataRowVersion version, object newValue) {
3665internal void ResetInternalIndexes(DataColumn column) {
3765DataColumn column = columnCollection[i];
4331internal DataColumn AddUniqueKey(int position) {
4336DataColumn[] pkey = PrimaryKey;
4344DataColumn key = new DataColumn(keyName, typeof(Int32), null, MappingType.Hidden);
4361PrimaryKey = new DataColumn[] {
4369internal DataColumn AddUniqueKey() {
4373internal DataColumn AddForeignKey(DataColumn parentKey) {
4377DataColumn foreignKey = new DataColumn(keyName, parentKey.DataType, null, MappingType.Hidden);
4578foreach(DataColumn dc in this.Columns) {
4612foreach(DataColumn dc in dataRow.Table.Columns) {
4723foreach(DataColumn dc in this.Columns) {
4954foreach(DataColumn dc in datatable.Columns) {
4956DataColumn[] dependency = dc.DataExpression.GetDependency();
5842foreach(DataColumn dc in tempTable.Columns) {
5845DataColumn[] dependency = dc.DataExpression.GetDependency();
6150internal void AddDependentColumn(DataColumn expressionColumn) {
6152dependentColumns = new List<DataColumn>();
6160internal void RemoveDependentColumn(DataColumn expressionColumn) {
6205foreach(DataColumn col in dependentColumns) {
6256internal void EvaluateExpressions(DataColumn column) {
6298internal void EvaluateDependentExpressions(DataColumn column) {
6301foreach (DataColumn dc in column.dependentColumns) {
6309internal void EvaluateDependentExpressions(List<DataColumn> columns, DataRow row, DataRowVersion version, List<DataRow> cachedRows) {
6316DataColumn dc = columns[i];
6354DataColumn dc = columns[i];
fx\src\data\System\Data\DataTableReader.cs (29)
537DataColumn dc = currentDataTable.Columns[name];
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));
677foreach (DataColumn dc in table.Columns) {
703DataColumn[] dependency = dc.DataExpression.GetDependency();
721foreach(DataColumn key in table.PrimaryKey) {
fx\src\data\System\Data\OleDb\OleDbConnectionInternal.cs (10)
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));
441internal bool AddInfoKeywordsToTable(DataTable table, DataColumn keyword) {
477DataColumn schemaGuid = new DataColumn(ODB.Schema, typeof(Guid));
478DataColumn restrictionSupport = new DataColumn(ODB.RestrictionSupport, typeof(Int32));
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (25)
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));
1861DataColumn nameColumn = dataColumns[nameColumnIndex];
1918DataColumn indxColumn = dataColumns[indxIndex];
1919DataColumn pkeyColumn = dataColumns[pkeyIndex];
1920DataColumn uniqCOlumn = dataColumns[uniqIndex];
1921DataColumn nameColumn = dataColumns[nameIndex];
1922DataColumn nulls = ((-1 != nullIndex) ? dataColumns[nullIndex] : null);
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (24)
65DataColumn parentChapterColumn, object parentChapterValue) {
400DataColumn parentChapterColumn;
440private DataColumn[] ResizeColumnArray(DataColumn[] rgcol, int len) {
443DataColumn[] tmp = new DataColumn[len];
460DataColumn column = (items[i] as DataColumn);
479private object[] SetupSchemaWithoutKeyInfo(MissingMappingAction mappingAction, MissingSchemaAction schemaAction, bool gettingData, DataColumn parentChapterColumn, object chapterValue) {
525DataColumn dataColumn;
586DataColumn chapterColumn = null;
640private object[] SetupSchemaWithKeyInfo(MissingMappingAction mappingAction, MissingSchemaAction schemaAction, bool gettingData, DataColumn parentChapterColumn, object chapterValue) {
656DataColumn[] keys = null;
711DataColumn dataColumn = null;
790if (schemaRow.IsAutoIncrement && DataColumn.IsAutoIncrementType(fieldType)) {
855keys = new DataColumn[schemaRows.Length];
886DataColumn chapterColumn = null;
979private void AddAdditionalProperties(DataColumn targetColumn, DataRow schemaRow) {
981DataColumn column;
1029private void AddRelation(DataColumn parentChapterColumn, DataColumn chapterColumn) { // MDAC 71613
1033DataRelation relation = new DataRelation(name, new DataColumn[] { parentChapterColumn }, new DataColumn[] { chapterColumn }, false); // MDAC 71878
1047private object[] SetupMapping(int count, DataColumnCollection columnCollection, DataColumn chapterColumn, object chapterValue) {
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (32)
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));
679foreach(DataColumn column in columns) {
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (32)
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));
715foreach(DataColumn column in columns) {
fx\src\data\System\Data\xmlsaver.cs (23)
109if (!((instance is DataSet) || (instance is DataTable) || (instance is DataColumn) || (instance is DataRelation))) {
122DataColumn col = null; // it may cause problem to assign null here, I will need to change this.
126if (instance is DataColumn) {
127col = (DataColumn)instance;
375foreach (DataColumn col in dt.Columns) {
986DataColumn[] key = rel.ParentKey.ColumnsReference;
1048internal void HandleColumnType(DataColumn col, XmlDocument dc, XmlElement root, XmlElement schema) {
1133internal void AddColumnProperties(DataColumn col, XmlElement root){
1200internal XmlElement HandleColumn(DataColumn col, XmlDocument dc, XmlElement schema, bool fWriteOrdinal) {
1221if (col.GetType() != typeof(DataColumn))
1365foreach(DataColumn col in table.Columns) {
1376internal static bool AutoGenerated(DataColumn col) {
1533DataColumn col = columns[i];
1551DataColumn col = table.Columns[0];
1591DataColumn colTxt = table.XmlText;
1596if (colTxt.GetType() != typeof(DataColumn))
1626DataColumn col = columns[i];
1715DataColumn[] fields;
2121DataColumn column = table.Columns[colNum];
2206private void GenerateColumn(DataRow row, DataColumn col, DataRowVersion version) {
2409DataColumn column = row.Table.Columns[colNum];
2565foreach( DataColumn col in row.Table.Columns )
2592foreach( DataColumn col in row.Table.Columns )
fx\src\data\System\NewXml\DataPointer.cs (12)
17private DataColumn column;
102private void MoveTo( XmlNode node, DataColumn column, bool fOnValue ) {
113private DataColumn NextColumn( DataRow row, DataColumn col, bool fAttribute, bool fNulls ) {
124DataColumn c = columns[iColumn];
132private DataColumn NthColumn( DataRow row, bool fAttribute, int iColumn, bool fNulls ) {
133DataColumn c = null;
144DataColumn c = null;
167DataColumn c = NextColumn( Row, null, false, false );
192DataColumn c = NextColumn( Row, column, false, false );
291DataColumn c = NthColumn( Row, true, i, false );
479bool IXmlDataVirtualNode.IsOnColumn( DataColumn col ) {
fx\src\data\System\NewXml\XmlDataDocument.cs (30)
293foreach( DataColumn col in t.Columns ) {
341foreach( DataColumn col in dt.Columns ) {
613foreach( DataColumn col in row.Table.Columns ) {
670private XmlNode GetColumnInsertAfterLocation( DataRow row, DataColumn col, XmlBoundElement rowElement ) {
695if ( schema == null || !(schema is DataColumn) )
699if ( ((DataColumn)schema).Ordinal > col.Ordinal )
731private DataColumn GetTextOnlyColumn( DataRow row ) {
1008internal bool IsNotMapped( DataColumn c ) {
1012private bool IsSame( DataColumn c, int recNo1, int recNo2 ) {
1019internal bool IsTextOnly( DataColumn c ) {
1266private void OnColumnValueChanged( DataRow row, DataColumn col, XmlBoundElement rowElement ) {
1429DataColumn col = args.Column;
1454if ( ((DataColumn)(columnChangeList[0])).Table == row.Table ) {
1455foreach( DataColumn c in columnChangeList )
1459foreach( DataColumn c in row.Table.Columns )
1464foreach( DataColumn c in row.Table.Columns )
1526DataColumn FindAssociatedParentColumn( DataRelation relation, DataColumn childCol ) {
1527DataColumn[] columns = relation.ChildKey.ColumnsReference;
1536private void OnNestedParentChange(DataRow child, XmlBoundElement childElement, DataColumn childCol) {
1565DataColumn colInParent = FindAssociatedParentColumn( relation, childCol );
1900foreach( DataColumn c in row.Table.Columns ) {
1918foreach( DataColumn c in row.Table.Columns ) {
2139internal static void SetRowValueToNull( DataRow row, DataColumn col ) {
2148internal static void SetRowValueFromXmlText( DataRow row, DataColumn col, string xmlText ) {
2231DataColumn column = GetTextOnlyColumn( row );
2261DataColumn c = mapper.GetColumnSchemaForNode( rowElement, e );
2283DataColumn c = mapper.GetColumnSchemaForNode( rowElement, attr );
2294foreach( DataColumn c in row.Table.Columns ) {
2305foreach( DataColumn c in row.Table.Columns ) {
fx\src\data\System\NewXml\XPathNodePointer.cs (26)
19private DataColumn _column;
114private XPathNodePointer( DataDocumentXPathNavigator owner, XmlDataDocument doc, XmlNode node, DataColumn c, bool bOnValue, XmlBoundElement parentOfNS ) {
367foreach( DataColumn col in row.Table.Columns ) {
454private void MoveTo( XmlNode node, DataColumn column, bool _fOnValue ) {
475DataColumn c = null;
507internal DataColumn NextColumn( DataRow row, DataColumn col, bool fAttribute ) {
519DataColumn c = columns[iColumn];
527internal DataColumn PreviousColumn( DataRow row, DataColumn col, bool fAttribute ) {
539DataColumn c = columns[iColumn];
558DataColumn c = null;
594DataColumn c = _column;
654private bool IsValidChild( XmlNode parent, DataColumn c ) {
680DataColumn c = NextColumn( curRow, _column, false );
723DataColumn c = PreviousColumn( curRow, _column, false );
750DataColumn c = PreviousColumn( row, null, false );
782DataColumn c = NextColumn( curRow, null, false );
820DataColumn c = NextColumn( curRow, null, false );
857DataColumn c = NextColumn( curRow, null, false );
1133bool IXmlDataVirtualNode.IsOnColumn( DataColumn col ) {
1209DataColumn curCol = PreviousColumn( curRow, null, true );
1289DataColumn curCol = PreviousColumn( curRow, null, true );
1311private bool MoveToNextNamespace( XmlBoundElement be, DataColumn col, XmlAttribute curAttr ) {
1342DataColumn curCol = PreviousColumn( curRow, col, true );
1421DataColumn curCol = PreviousColumn( curRow, this._column, true );