1 write to _table
System.Data.Common (1)
System\Data\DataRow.cs (1)
49
_table
= builder._table;
76 references to _table
System.Data.Common (76)
System\Data\DataRow.cs (76)
50
_columns =
_table
.Columns;
116
_table
.RecordChanged(_oldRecord);
120
_table
.RecordChanged(_newRecord);
176
public DataTable Table =>
_table
;
188
_table
._recordManager.VerifyRecord(record, this);
206
if (
_table
._fInLoadDiffgram || (
_table
.DataSet != null &&
_table
.DataSet._fInLoadDiffgram))
211
int count =
_table
.Rows.Count, i = 0;
218
throw ExceptionBuilder.NestedCircular(
_table
.TableName);
228
DataRelation[] nestedParentRelations =
_table
.NestedParentRelations;
235
if (rel.ParentTable ==
_table
) // self-nested table
260
_table
._recordManager.VerifyRecord(record, this);
281
_table
._recordManager.VerifyRecord(record, this);
302
if (
_table
.NeedColumnChangeEvents)
305
_table
.OnColumnChanging(e);
308
if (column.Table !=
_table
)
311
throw ExceptionBuilder.ColumnNotInTheTable(column.ColumnName,
_table
.TableName);
333
_table
._recordManager.VerifyRecord(record, this);
352
_table
.OnColumnChanged(e); // user may call CancelEdit or EndEdit
373
_table
._recordManager.VerifyRecord(record, this);
389
_table
._recordManager.VerifyRecord(record, this);
405
_table
._recordManager.VerifyRecord(record, this);
424
_table
._recordManager.VerifyRecord(record, this);
445
if (
_table
.NeedColumnChangeEvents)
471
_table
.OnColumnChanging(e);
474
if (column.Table !=
_table
)
477
throw ExceptionBuilder.ColumnNotInTheTable(column.ColumnName,
_table
.TableName);
505
_table
._recordManager.VerifyRecord(record, this);
524
_table
.OnColumnChanged(e); // user may call CancelEdit or EndEdit
563
_table
.CommitRow(this);
585
if (_tempRecord <
_table
._recordManager.LastFreeRecord)
597
_table
._recordManager.VerifyRecord(_tempRecord, this);
607
_tempRecord =
_table
.NewRecord(_newRecord);
625
_table
.FreeRecord(ref _tempRecord);
637
if (column.Table !=
_table
)
639
throw ExceptionBuilder.ColumnNotInTheTable(column.ColumnName,
_table
.TableName);
669
_table
.DeleteRow(this);
693
_table
.SetNewRecord(this, _tempRecord, suppressEnsurePropertyChanged: true);
802
GetChildRows(
_table
.ChildRelations[relationName], DataRowVersion.Default);
805
GetChildRows(
_table
.ChildRelations[relationName], version);
821
return
_table
.NewRowArray(0);
824
if (relation.DataSet !=
_table
.DataSet)
828
if (relation.ParentKey.Table !=
_table
)
830
throw ExceptionBuilder.RelationForeignTable(relation.ParentTable.TableName,
_table
.TableName);
842
throw ExceptionBuilder.ColumnNotInTheTable(columnName,
_table
.TableName);
846
GetParentRow(
_table
.ParentRelations[relationName], DataRowVersion.Default);
849
GetParentRow(
_table
.ParentRelations[relationName], version);
868
if (relation.DataSet !=
_table
.DataSet)
873
if (relation.ChildKey.Table !=
_table
)
875
throw ExceptionBuilder.GetParentRowTableMismatch(relation.ChildTable.TableName,
_table
.TableName);
886
DataRelation[] nestedParentRelations =
_table
.NestedParentRelations;
893
if (rel.ParentTable ==
_table
) // self-nested table
909
GetParentRows(
_table
.ParentRelations[relationName], DataRowVersion.Default);
912
GetParentRows(
_table
.ParentRelations[relationName], version);
927
return
_table
.NewRowArray(0);
930
if (relation.DataSet !=
_table
.DataSet)
935
if (relation.ChildKey.Table !=
_table
)
937
throw ExceptionBuilder.GetParentRowTableMismatch(relation.ChildTable.TableName,
_table
.TableName);
1222
_table
.RollbackRow(this);
1276
foreach (DataRelation relation in
_table
.ParentRelations)
1280
if (relation.ParentKey.Table == parentRow.
_table
)
1287
if (parentRow.
_table
==
_table
)
1323
if (
_table
.DataSet != parentRow.
_table
.DataSet)
1328
if (relation.ChildKey.Table !=
_table
)
1330
throw ExceptionBuilder.SetParentRowTableMismatch(relation.ChildKey.Table.TableName,
_table
.TableName);
1333
if (relation.ParentKey.Table != parentRow.
_table
)
1335
throw ExceptionBuilder.SetParentRowTableMismatch(relation.ParentKey.Table.TableName, parentRow.
_table
.TableName);
1344
foreach (DataRelation relation in
_table
.ParentRelations)
1354
if (relation.ChildKey.Table !=
_table
)
1356
throw ExceptionBuilder.SetParentRowTableMismatch(relation.ChildKey.Table.TableName,
_table
.TableName);
1368
_table
.SetOldRecord(this, -1);
1380
_tempRecord =
_table
.NewRecord(_newRecord);
1384
_table
.SetNewRecord(this, _tempRecord, suppressEnsurePropertyChanged: true);