83 references to Table
System.Data.Common (83)
System\Data\Common\DataStorage.cs (1)
144_table = column.Table!;
System\Data\ConstraintCollection.cs (1)
226if (columns[i].Table != _table)
System\Data\DataColumn.cs (8)
961if (Table != null && _columnMapping != MappingType.Attribute) 963return Table.Namespace; 1375if ((0 <= _maxLength) && (null != Table) && (0 < Table.Rows.Count)) 1378foreach (DataRow dr in Table.Rows) 1564var parentRelations = new DataRelation[Table!.ParentRelations.Count]; 1565Table.ParentRelations.CopyTo(parentRelations, 0); 1684foreach (DataRow dr in Table!.Rows)
System\Data\DataColumnCollection.cs (5)
398if (oldArray[oldCur].Table == _table) 410if (newArray[newCur].Table != _table) 538if (_fInClear && (col.Table == _table || col.Table == null)) 543if (col.Table == null)
System\Data\DataError.cs (2)
41Debug.Assert(column.Table != null, "Invalid (loose) column"); 141int newCapacity = Math.Min(_count * 2, column.Table!.Columns.Count);
System\Data\DataKey.cs (5)
69internal DataTable Table => _columns[0].Table!; 72DataTable? table = _columns[0].Table; 81if (_columns[i].Table == null) 85if (_columns[i].Table != table) 212return _columns[0].Table!.GetIndex(indexDesc, recordStates, null);
System\Data\DataRelation.cs (4)
696if ((parentColumns[i].Table!.DataSet == null) || (childColumns[i].Table!.DataSet == null)) 824string generatedname = col.Table!.TableName + "_Id"; 831generatedname = ParentColumnsReference[0].Table!.TableName + "_Id";
System\Data\DataRow.cs (3)
308if (column.Table != _table) 474if (column.Table != _table) 637if (column.Table != _table)
System\Data\DataTable.cs (9)
3959dc.Table!.EvaluateDependentExpressions(dc._dependentColumns, dr, version, null); 5548if (!(tableList.Contains(dependency[j].Table!))) 6640if (!tableList.Contains(dependency[j].Table!)) 7014if (col.DataExpression != null && col.DataExpression.HasLocalAggregate() && col.Table == this) 7152if (columns[i].Table == this) 7207if (dc.Table != this || (dc.DataExpression != null && !dc.DataExpression.HasLocalAggregate())) 7216if (cachedRow.Table != dc.Table) 7241if (relation.ParentTable != dc.Table) 7273if (relation.ChildTable != dc.Table)
System\Data\DataTableReader.cs (1)
828if (dependency[j].Table != table)
System\Data\Merger.cs (2)
547if (0 != string.Compare(dest.ColumnName, src.ColumnName, false, dest.Table!.Locale)) 557if (0 != string.Compare(dest.ColumnName, src.ColumnName, false, dest.Table!.Locale))
System\Data\ProviderBase\SchemaMapping.cs (7)
551column.Table?.Columns.Remove(column); 668if (null == dataColumn.Table) 707if (null == chapterColumn.Table) 916if (null == dataColumn.Table) 985else if (null == dataColumn.Table) 999if (null == dataColumn.Table) 1053if (null == chapterColumn.Table)
System\Data\RelatedView.cs (2)
16public RelatedView(DataColumn[] columns, object[] values) : base(columns[0].Table, false) 31public RelatedView(DataRowView parentRowView, DataKey parentKey, DataColumn[] childKeyColumns) : base(childKeyColumns[0].Table, false)
System\Data\Select.cs (1)
305if (depColumns[i].Table == _table)
System\Data\XmlDataLoader.cs (4)
419if (c.Table == row.Table && c.ColumnMapping != MappingType.Attribute && foundColumns[c] == null) 1206if (column.Table!.DataSet != null && column.Table.DataSet._udtIsWrapped) 1285object? o = _nodeToSchemaMap!.GetColumnSchema(column.Table!, _dataReader, FIgnoreNamespace(_dataReader));
System\Data\XMLDiffLoader.cs (2)
396if (column.Table!.DataSet != null && column.Table.DataSet._udtIsWrapped)
System\Data\xmlsaver.cs (12)
1264(col.Table!.DataSet != null ? col.Table.DataSet.Namespace : col.Table.Namespace); 1441DataTable _table = col.Table!; 1511if ((col.Namespace != (col.Table!.TypeName.IsEmpty ? col.Table.Namespace : col.Table.TypeName.Namespace)) && (col.Namespace.Length != 0)) 1518if (col.Table.Namespace != _ds!.Namespace) 1520_ = GetSchema(col.Table.Namespace); 1634string generatedname = col.Table!.TableName + "_Id"; 1641foreach (DataRelation rel in col.Table.ParentRelations) 1655generatedname = rel.ParentColumnsReference[0].Table!.TableName + "_Id";
System\Data\XMLSchema.cs (11)
1313int iExisting = fKey[0].Table!.Constraints.InternalIndexOf(name); 1316if (fKey[0].Table!.Constraints[iExisting].ConstraintName != name) 1323fKey[0].Table!.Constraints.Add(fkc); 1333int iExisting = fKey[0].Table!.DataSet!.Relations.InternalIndexOf(relName); 1336if (fKey[0].Table!.DataSet!.Relations[iExisting].RelationName != relName) 1344pKey[0].Table!.DataSet!.Relations.Add(relation); 1359relation = fKey[0].Table!.DataSet!.Relations[iExisting]; 1418UniqueConstraint? found = (UniqueConstraint?)key[0].Table!.Constraints.FindConstraint(new UniqueConstraint(name, key)); 1422key[0].Table!.Constraints.Add(name, key, fPrimaryKey); 1423SetExtProperties(key[0].Table!.Constraints[name]!, keyNode.UnhandledAttributes); 1430key[0].Table!.PrimaryKey = key;
System\Xml\DataSetMappper.cs (1)
357DataTable table = col.Table!;
System\Xml\XmlDataDocument.cs (2)
1629if (((DataColumn)(_columnChangeList[0]!)).Table == row.Table) 2505Debug.Assert(c.Table == row.Table);