56 references to
System.Data.Common (56)
System\Data\Common\DataTableMapping.cs (1)
143return tables[index];
System\Data\DataSet.cs (38)
136Tables[i].RemotingFormat = value; 361bf.Serialize(memStream, Tables[i]); 371Tables[i].SerializeConstraints(info, i, true); 380Tables[i].SerializeExpressionColumns(info, i); 392Tables[i].SerializeTableData(info, i); 454Tables[i].DeserializeConstraints(info, /* table index */i, /* serialize all constraints */ true); // 463Tables[i].DeserializeExpressionColumns(info, i); 492Tables[i].DeserializeTableData(info, i); 597parentkeyColumns[i] = Tables[parentInfo[0]].Columns[parentInfo[i + 1]]; 604childkeyColumns[i] = Tables[childInfo[0]].Columns[childInfo[i + 1]]; 858if (Tables[i].HasErrors) 961if (!Tables[i].ShouldSerializeLocale()) 963Tables[i].SetLocaleValue(oldLocale, false, true); 1006if (Tables[i].Site != null) 1008cont.Remove(Tables[i]); 1067Tables[i].AcceptChanges(); 1098Tables[i].Columns.FinishInitCollection(); 1103Tables[i].Constraints.FinishInitConstraints(); 1125Tables[i].Clear(); 1173DataTable dt = tbls[i].Clone(ds); 1174dt._tableNamespace = tbls[i].Namespace; // hardcode the namespace for a second to not mess up 1182ConstraintCollection constraints = tbls[i].Constraints; 1196ds.Tables[i].Constraints.Add(constraints[j].Clone(ds)!); 1232ds.Tables[i]._tableNamespace = tbls[i]._tableNamespace; // undo the hardcoding of the namespace 1281int rowBytes = (Tables[i].TableName.Length + 4) << 2; 1282DataTable table = Tables[i]; 1341bitMatrix[i] = new TableChanges(Tables[i].Rows.Count); 1360DataTable table = Tables[i]; 1393DataRowCollection rows = Tables[tableIndex].Rows; 1555DataTable table = Tables[i]; 3236DataTable table = Tables[i]; 3245DataTable table = Tables[i]; 3272Tables[i].RejectChanges(); 3293ConstraintCollection cons = Tables[i].Constraints; 3336constraints = Tables[i].Constraints; 3376constraints = Tables[i].Constraints; 3676dataTables[i] = Tables[i];
System\Data\DataTable.cs (5)
634DataTable parentTable = (allConstraints == false) ? this : DataSet!.Tables[parentInfo[0]]; 642DataTable childTable = (allConstraints == false) ? this : DataSet!.Tables[childInfo[0]]; 6508currentTable = ds.Tables[tableIndex]; 6892DataTable table = ds.Tables[tableIndex]; 6914DataTable 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]; 2283_tables.Add(ds.Tables[i]); 2377GenerateTable(_ds.Tables[i]); 2395GenerateTableErrors(_ds.Tables[i]);