1 write to _table
System.Data (1)
fx\src\data\System\Data\DataRow.cs (1)
57
_table
= builder._table;
76 references to _table
System.Data (76)
fx\src\data\System\Data\DataRow.cs (76)
58
_columns =
_table
.Columns;
122
_table
.RecordChanged(oldRecord);
124
_table
.RecordChanged(newRecord);
185
return
_table
;
196
_table
.recordManager.VerifyRecord(record, this);
212
if (
_table
.fInLoadDiffgram || (
_table
.DataSet != null &&
_table
.DataSet.fInLoadDiffgram))
214
int count =
_table
.Rows.Count, i = 0;
219
throw ExceptionBuilder.NestedCircular(
_table
.TableName);
227
DataRelation[] nestedParentRelations =
_table
.NestedParentRelations;
231
if (rel.ParentTable ==
_table
) // self-nested table
251
_table
.recordManager.VerifyRecord(record, this);
269
_table
.recordManager.VerifyRecord(record, this);
287
if (
_table
.NeedColumnChangeEvents) {
289
_table
.OnColumnChanging(e);
292
if (column.Table !=
_table
) {
294
throw ExceptionBuilder.ColumnNotInTheTable(column.ColumnName,
_table
.TableName);
312
_table
.recordManager.VerifyRecord(record, this);
331
_table
.OnColumnChanged(e); // user may call CancelEdit or EndEdit
349
_table
.recordManager.VerifyRecord(record, this);
363
_table
.recordManager.VerifyRecord(record, this);
376
_table
.recordManager.VerifyRecord(record, this);
389
_table
.recordManager.VerifyRecord(record, this);
406
if (
_table
.NeedColumnChangeEvents) {
427
_table
.OnColumnChanging(e);
430
if (column.Table !=
_table
) {
432
throw ExceptionBuilder.ColumnNotInTheTable(column.ColumnName,
_table
.TableName);
455
_table
.recordManager.VerifyRecord(record, this);
474
_table
.OnColumnChanged(e); // user may call CancelEdit or EndEdit
508
_table
.CommitRow(this);
530
if (tempRecord <
_table
.recordManager.LastFreeRecord) {
540
_table
.recordManager.VerifyRecord(tempRecord, this);
551
tempRecord =
_table
.NewRecord(newRecord);
569
_table
.FreeRecord(ref tempRecord);
579
if (column.Table !=
_table
) {
580
throw ExceptionBuilder.ColumnNotInTheTable(column.ColumnName,
_table
.TableName);
604
_table
.DeleteRow(this);
625
_table
.SetNewRecord(this, tempRecord, suppressEnsurePropertyChanged: true);
740
return GetChildRows(
_table
.ChildRelations[relationName], DataRowVersion.Default);
744
return GetChildRows(
_table
.ChildRelations[relationName], version);
761
return
_table
.NewRowArray(0);
766
if (relation.DataSet !=
_table
.DataSet)
768
if (relation.ParentKey.Table !=
_table
)
769
throw ExceptionBuilder.RelationForeignTable(relation.ParentTable.TableName,
_table
.TableName);
778
throw ExceptionBuilder.ColumnNotInTheTable(columnName,
_table
.TableName);
782
return GetParentRow(
_table
.ParentRelations[relationName], DataRowVersion.Default);
786
return GetParentRow(
_table
.ParentRelations[relationName], version);
807
if (relation.DataSet !=
_table
.DataSet)
810
if (relation.ChildKey.Table !=
_table
)
811
throw ExceptionBuilder.GetParentRowTableMismatch(relation.ChildTable.TableName,
_table
.TableName);
819
DataRelation[] nestedParentRelations =
_table
.NestedParentRelations;
823
if (rel.ParentTable ==
_table
) // self-nested table
839
return GetParentRows(
_table
.ParentRelations[relationName], DataRowVersion.Default);
846
return GetParentRows(
_table
.ParentRelations[relationName], version);
865
return
_table
.NewRowArray(0);
870
if (relation.DataSet !=
_table
.DataSet)
873
if (relation.ChildKey.Table !=
_table
)
874
throw ExceptionBuilder.GetParentRowTableMismatch(relation.ChildTable.TableName,
_table
.TableName);
1120
_table
.RollbackRow(this);
1165
foreach (DataRelation relation in
_table
.ParentRelations) {
1167
if (relation.ParentKey.Table == parentRow.
_table
) {
1172
if (parentRow.
_table
==
_table
)
1210
if (
_table
.DataSet != parentRow.
_table
.DataSet)
1213
if (relation.ChildKey.Table !=
_table
)
1214
throw ExceptionBuilder.SetParentRowTableMismatch(relation.ChildKey.Table.TableName,
_table
.TableName);
1216
if (relation.ParentKey.Table != parentRow.
_table
)
1217
throw ExceptionBuilder.SetParentRowTableMismatch(relation.ParentKey.Table.TableName, parentRow.
_table
.TableName);
1227
foreach (DataRelation relation in
_table
.ParentRelations)
1237
if (relation.ChildKey.Table !=
_table
)
1238
throw ExceptionBuilder.SetParentRowTableMismatch(relation.ChildKey.Table.TableName,
_table
.TableName);
1247
_table
.SetOldRecord(this, -1);
1256
tempRecord =
_table
.NewRecord(newRecord);
1259
_table
.SetNewRecord(this, tempRecord, suppressEnsurePropertyChanged: true);