56 references to
System.Data.Common (56)
System\Data\Common\DataTableMapping.cs (1)
143return tables[index];
System\Data\DataSet.cs (38)
135Tables[i].RemotingFormat = value; 357bf.Serialize(memStream, Tables[i]); 367Tables[i].SerializeConstraints(info, i, true); 376Tables[i].SerializeExpressionColumns(info, i); 388Tables[i].SerializeTableData(info, i); 450Tables[i].DeserializeConstraints(info, /* table index */i, /* serialize all constraints */ true); // 459Tables[i].DeserializeExpressionColumns(info, i); 488Tables[i].DeserializeTableData(info, i); 593parentkeyColumns[i] = Tables[parentInfo[0]].Columns[parentInfo[i + 1]]; 600childkeyColumns[i] = Tables[childInfo[0]].Columns[childInfo[i + 1]]; 854if (Tables[i].HasErrors) 957if (!Tables[i].ShouldSerializeLocale()) 959Tables[i].SetLocaleValue(oldLocale, false, true); 1002if (Tables[i].Site != null) 1004cont.Remove(Tables[i]); 1063Tables[i].AcceptChanges(); 1094Tables[i].Columns.FinishInitCollection(); 1099Tables[i].Constraints.FinishInitConstraints(); 1121Tables[i].Clear(); 1169DataTable dt = tbls[i].Clone(ds); 1170dt._tableNamespace = tbls[i].Namespace; // hardcode the namespace for a second to not mess up 1178ConstraintCollection constraints = tbls[i].Constraints; 1192ds.Tables[i].Constraints.Add(constraints[j].Clone(ds)!); 1228ds.Tables[i]._tableNamespace = tbls[i]._tableNamespace; // undo the hardcoding of the namespace 1277int rowBytes = (Tables[i].TableName.Length + 4) << 2; 1278DataTable table = Tables[i]; 1337bitMatrix[i] = new TableChanges(Tables[i].Rows.Count); 1356DataTable table = Tables[i]; 1389DataRowCollection rows = Tables[tableIndex].Rows; 1547DataTable table = Tables[i]; 3186DataTable table = Tables[i]; 3195DataTable table = Tables[i]; 3222Tables[i].RejectChanges(); 3243ConstraintCollection cons = Tables[i].Constraints; 3286constraints = Tables[i].Constraints; 3326constraints = Tables[i].Constraints; 3622dataTables[i] = Tables[i];
System\Data\DataTable.cs (5)
629DataTable parentTable = (allConstraints == false) ? this : DataSet!.Tables[parentInfo[0]]; 637DataTable childTable = (allConstraints == false) ? this : DataSet!.Tables[childInfo[0]]; 6466currentTable = ds.Tables[tableIndex]; 6845DataTable table = ds.Tables[tableIndex]; 6867DataTable table = _targetDS.Tables[tableIndex];
System\Data\DataTableCollection.cs (1)
781DataTable dt = this[index];
System\Data\DataViewManagerListItemTypeDescriptor.cs (1)
124props[i] = new DataTablePropertyDescriptor(dataSet.Tables[i]);
System\Data\DataViewSettingCollection.cs (1)
71dt = ds.Tables[index];
System\Data\ForeignKeyConstraint.cs (2)
704DataTable table = destination.Tables[iDest]; 718DataTable relatedTable = destination.Tables[iDest];
System\Data\Merger.cs (2)
69MergeTableData(source.Tables[i]); // since column expression might have dependency on relation, we do not set 463MergeConstraints(source.Tables[i]);
System\Data\UniqueConstraint.cs (1)
290DataTable table = destination.Tables[iDest];
System\Data\xmlsaver.cs (4)
352DataTable table = ds.Tables[t]; 2273_tables.Add(ds.Tables[i]); 2365GenerateTable(_ds.Tables[i]); 2383GenerateTableErrors(_ds.Tables[i]);