150 references to Table
System.Data (129)
fx\src\data\System\Data\Common\DBCommandBuilder.cs (2)
1113
DataTable dataTable = dataRow.
Table
;
1234
column = tablemapping.GetDataColumn(columnName, null, row.
Table
, _missingMappingAction, MissingSchemaAction.Error);
fx\src\data\System\Data\Common\DbDataAdapter.cs (5)
638
DataColumn dataColumn = mappings.GetDataColumn(columnName, null, row.
Table
, missingMapping, missingSchema);
666
DataColumn dataColumn = mappings.GetDataColumn(columnName, null, row.
Table
, missingMapping, missingSchema);
722
if ((null != dataRows[i]) && (dataTable != dataRows[i].
Table
)) {
726
dataTable = dataRows[i].
Table
;
1293
SchemaMapping mapping = new SchemaMapping(this, null, rowUpdatedEvent.Row.
Table
, readerHandler, false, SchemaType.Mapped, rowUpdatedEvent.TableMapping.SourceTable, true, null, null);
fx\src\data\System\Data\Common\DbProviderFactories.cs (1)
58
DataColumn column = providerRow.
Table
.Columns[AssemblyQualifiedName];
fx\src\data\System\Data\DataRow.cs (1)
1014
foreach(DataColumn dc in
Table
.Columns) {
fx\src\data\System\Data\DataRowCollection.cs (2)
101
if ((null == row) || (row.
Table
!= this.table) || ((0 == row.RBTreeNodeId) && (row.RowState == DataRowState.Detached))) //Webdata 102857
203
if ((null == row) || (row.
Table
!= table) || (-1 == row.rowID)) {
fx\src\data\System\Data\DataSet.cs (3)
1335
DataRelationCollection relations = row.
Table
.ParentRelations;
1341
int relatedTableIndex = this.Tables.IndexOf(relatedRow.
Table
);
1342
int relatedRowIndex = relatedRow.
Table
.Rows.IndexOf(relatedRow);
fx\src\data\System\Data\DataTable.cs (28)
2019
targetRow.oldRecord = recordManager.ImportRecord(row.
Table
, row.oldRecord);
2022
targetRow.newRecord = recordManager.ImportRecord(row.
Table
, row.newRecord);
2041
oldRecord = recordManager.CopyRecord(row.
Table
, row.oldRecord, targetRow.oldRecord);
2052
oldRecord = recordManager.CopyRecord(row.
Table
, row.oldRecord, oldRecord);
2070
oldRecord = recordManager.CopyRecord(row.
Table
, row.oldRecord, oldRecord);
2073
newRecord = recordManager.CopyRecord(row.
Table
, row.newRecord, newRecord);
2097
DataColumn col = targetRow.
Table
.Columns[cols[i].ColumnName];
2545
if (row.
Table
!= this) {
2750
oldRecord = table.recordManager.ImportRecord(row.
Table
, row.oldRecord);
2754
newRecord = table.recordManager.ImportRecord(row.
Table
, row.newRecord);
2768
DataColumn col = targetRow.
Table
.Columns[cols[i].ColumnName];
2965
oldRecord = recordManager.ImportRecord(row.
Table
, row.oldRecord);
2969
newRecord = recordManager.ImportRecord(row.
Table
, row.newRecord);
2984
DataColumn col = targetRow.
Table
.Columns[cols[i].ColumnName];
3001
if (row.
Table
!= this) {
3560
int[] oldIndex = dr.
Table
.RemoveRecordFromIndexes(dr, version);// conditional, if it exists it will try to remove with no event fired
3562
int[] newIndex = dr.
Table
.InsertRecordToIndexes(dr, version);// conditional, it will insert if it qualifies, no event will be fired
3565
dr.
Table
.RecordChanged(oldIndex, newIndex);
3912
if (relation.ChildTable != row.
Table
) {
3920
if (relation.ParentTable != row.
Table
) {
4612
foreach(DataColumn dc in dataRow.
Table
.Columns) {
6243
relatedRow.
Table
.EvaluateDependentExpressions(relatedRow.
Table
.dependentColumns, relatedRow, DataRowVersion.Original, null);
6246
relatedRow.
Table
.EvaluateDependentExpressions(relatedRow.
Table
.dependentColumns, relatedRow, DataRowVersion.Current, null);
6249
relatedRow.
Table
.EvaluateDependentExpressions(relatedRow.
Table
.dependentColumns, relatedRow, DataRowVersion.Proposed, null);
6362
if (cachedRow.
Table
!= dc.Table)
fx\src\data\System\Data\ForeignKeyConstraint.cs (6)
274
if (row.
Table
.DataSet.EnforceConstraints) {
297
r.
Table
.DeleteRow(r);
364
if (row.RowState != DataRowState.Deleted && row.
Table
.DataSet.EnforceConstraints) {
389
if (row.
Table
.DataSet.EnforceConstraints)
516
int parentKeyValuesRecord = childRow.
Table
.NewRecord();
517
childRow.
Table
.SetKeyValues(childKey, parentKeyValues, parentKeyValuesRecord);
fx\src\data\System\Data\Merger.cs (8)
217
if (row.
Table
== null) {
222
if (row.
Table
.DataSet == dataSet)
225
if (src != row.
Table
) { // row.Table changed from prev. row.
226
src = row.
Table
;
227
dst = MergeSchema(row.
Table
);
260
if (targetRow.
Table
.dependentColumns != null && targetRow.
Table
.dependentColumns.Count > 0)
261
targetRow.
Table
.EvaluateExpressions(targetRow, DataRowAction.Change, null);
fx\src\data\System\Data\ProviderBase\DbMetaDataFactory.cs (1)
490
DataColumnCollection tableColumns = requestedCollectionRow.
Table
.Columns;
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (2)
177
DataColumnCollection columns = dataRow.
Table
.Columns;
980
DataColumnCollection columns = schemaRow.
Table
.Columns;
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (3)
1575
DataTable table = rows[0].
Table
;
1625
DataTable table = rows[0].
Table
;
1896
index = ((DataRow[])_rowSource)[0].
Table
.Columns.IndexOf(unquotedColumnName);
fx\src\data\System\Data\XmlDataLoader.cs (6)
105
r.
Table
.Rows.Add( r );
188
DataColumnCollection columns = row.
Table
.Columns;
341
DataTable table = row.
Table
;
383
if (c.Table == row.
Table
&& c.ColumnMapping != MappingType.Attribute && foundColumns[c] == null) {
429
foreach( DataColumn c in row.
Table
.Columns ) {
507
foundColumns = new bool[topMostRow.
Table
.Columns.Count];
fx\src\data\System\Data\XMLDiffLoader.cs (1)
228
table = row.
Table
;
fx\src\data\System\Data\xmlsaver.cs (26)
2113
_xmlw.WriteStartElement( prefix, row.
Table
.EncodedTableName, row.
Table
.Namespace);
2114
_xmlw.WriteAttributeString( Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, row.
Table
.TableName+row.rowID.ToString(CultureInfo.InvariantCulture));
2134
_xmlw.WriteStartElement( prefix, row.
Table
.EncodedTableName, row.
Table
.Namespace);
2135
_xmlw.WriteAttributeString( Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, row.
Table
.TableName+row.rowID.ToString(CultureInfo.InvariantCulture));
2164
DataTable table = row.
Table
;
2168
if ( (state == DataRowState.Deleted ) && (row.
Table
.NestedParentRelations.Length != 0)){
2171
parentId = parentRow.
Table
.TableName+parentRow.rowID.ToString(CultureInfo.InvariantCulture);
2182
_xmlw.WriteStartElement( tablePrefix, row.
Table
.EncodedTableName, row.
Table
.Namespace);
2194
if ((row.
Table
.Columns[colNum].ColumnMapping == MappingType.Attribute) ||
2195
(row.
Table
.Columns[colNum].ColumnMapping == MappingType.Hidden))
2196
GenerateColumn(row, row.
Table
.Columns[colNum], DataRowVersion.Original);
2199
if ((row.
Table
.Columns[colNum].ColumnMapping == MappingType.Element) ||
2200
(row.
Table
.Columns[colNum].ColumnMapping == MappingType.SimpleContent))
2201
GenerateColumn(row, row.
Table
.Columns[colNum], DataRowVersion.Original);
2403
int colCount = row.
Table
.Columns.Count;
2409
DataColumn column = row.
Table
.Columns[colNum];
2528
foreach( DataRelation r in row.
Table
.ChildRelations ) {
2540
string prefix = (row.
Table
.Namespace.Length == 0) ? "" : row.
Table
.Prefix;
2542
_xmlw.WriteStartElement(prefix, encodedTableName, row.
Table
.Namespace);
2545
_xmlw.WriteAttributeString( Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, row.
Table
.TableName+row.rowID.ToString(CultureInfo.InvariantCulture));
2565
foreach( DataColumn col in row.
Table
.Columns )
2592
foreach( DataColumn col in row.
Table
.Columns )
fx\src\data\System\NewXml\DataPointer.cs (1)
117
DataTable table = row.
Table
;
fx\src\data\System\NewXml\DataSetMappper.cs (1)
168
return row.
Table
;
fx\src\data\System\NewXml\XmlDataDocument.cs (29)
128
r.
Table
.Rows.Add( r );
163
r.
Table
.Rows.Add( r );
613
foreach( DataColumn col in row.
Table
.Columns ) {
709
foreach( DataRelation r in row.
Table
.ChildRelations ) {
725
DataRelation [] relations = row.
Table
.NestedParentRelations;
750
return row.
Table
.XmlText;
770
for (i = 0; i < row.
Table
.Rows.Count; i++)
771
if (row == row.
Table
.Rows[i])
776
for (i = pos + 1; i < row.
Table
.Rows.Count; i++) {
777
refRow = row.
Table
.Rows[i];
782
if (i < row.
Table
.Rows.Count)
1223
DataTable table = row.
Table
;
1233
DataTable tb = row.
Table
;
1409
Debug.Assert( relation.ChildTable == row.
Table
);
1454
if ( ((DataColumn)(columnChangeList[0])).Table == row.
Table
) {
1459
foreach( DataColumn c in row.
Table
.Columns )
1464
foreach( DataColumn c in row.
Table
.Columns )
1900
foreach( DataColumn c in row.
Table
.Columns ) {
1918
foreach( DataColumn c in row.
Table
.Columns ) {
2141
Debug.Assert( row.
Table
.DataSet.EnforceConstraints == false );
2150
Debug.Assert( row.
Table
.DataSet.EnforceConstraints == false );
2218
DataTable table = row.
Table
;
2263
Debug.Assert( c.Table == row.
Table
);
2294
foreach( DataColumn c in row.
Table
.Columns ) {
2305
foreach( DataColumn c in row.
Table
.Columns ) {
2384
if ( parentRow == null || rel.ParentKey.Table != parentRow.
Table
)
2469
row.
Table
.Rows.Add( row );
2611
DataRelation [] relations = childRow.
Table
.NestedParentRelations;
2612
if (relations.Length != 0 && relations[0].ParentTable == parentRow.
Table
) // just backward compatable
fx\src\data\System\NewXml\XPathNodePointer.cs (3)
367
foreach( DataColumn col in row.
Table
.Columns ) {
512
DataTable table = row.
Table
;
532
DataTable table = row.
Table
;
System.Data.DataSetExtensions (5)
System\Data\DataRowComparer.cs (4)
172
int count = leftRow.
Table
.Columns.Count;
173
if (count != rightRow.
Table
.Columns.Count)
207
Debug.Assert(row.
Table
!= null);
208
if (row.
Table
.Columns.Count > 0)
System\Data\DataTableExtensions.cs (1)
164
foreach (DataColumn column in current.
Table
.Columns)
System.Data.Entity.Design (2)
System\Data\Entity\Design\SSDLGenerator\RelationshipDetailsRow.cs (1)
30
this._tableRelationshipDetails = ((RelationshipDetailsCollection)(base.
Table
));
System\Data\Entity\Design\SSDLGenerator\TableDetailsRow.cs (1)
30
this._tableTableDetails = ((TableDetailsCollection)(base.
Table
));
System.Web.DataVisualization (7)
Common\DataManager\DataPoint.cs (7)
1171
if (dataRow.
Table
.Columns.Contains(fieldName))
1182
if (!failed && columnIndex < dataRow.
Table
.Columns.Count && columnIndex >= 0)
1380
if(((DataRow)enumerator.Current).
Table
.Columns.Contains(field))
1382
columnDataType = ((DataRow)enumerator.Current).
Table
.Columns[field].DataType;
1394
columnDataType = ((DataRow)enumerator.Current).
Table
.Columns[columnIndex].DataType;
1409
else if(((DataRow)enumerator.Current).
Table
.Columns.Count > 0)
1411
columnDataType = ((DataRow)enumerator.Current).
Table
.Columns[0].DataType;
System.Windows.Forms.DataVisualization (7)
Common\DataManager\DataPoint.cs (7)
1171
if (dataRow.
Table
.Columns.Contains(fieldName))
1182
if (!failed && columnIndex < dataRow.
Table
.Columns.Count && columnIndex >= 0)
1380
if(((DataRow)enumerator.Current).
Table
.Columns.Contains(field))
1382
columnDataType = ((DataRow)enumerator.Current).
Table
.Columns[field].DataType;
1394
columnDataType = ((DataRow)enumerator.Current).
Table
.Columns[columnIndex].DataType;
1409
else if(((DataRow)enumerator.Current).
Table
.Columns.Count > 0)
1411
columnDataType = ((DataRow)enumerator.Current).
Table
.Columns[0].DataType;