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