1 write to _table
System.Data.Common (1)
System\Data\DataRowCollection.cs (1)
33
_table
= table;
21 references to _table
System.Data.Common (21)
System\Data\DataRowCollection.cs (21)
46
public void Add(DataRow row) =>
_table
.AddRow(row, -1);
57
_table
.AddRow(row, -1);
61
_table
.InsertRow(row, -1, pos);
69
_table
.AddRow(row, pos > -1 ? pos + 1 : -1);
73
if (
_table
.NestedParentRelations.Length > 0)
80
throw ExceptionBuilder.RowInsertTwice(pos,
_table
.TableName);
84
_table
.InsertRow(row, pos + 1, pos);
93
_table
.AddRow(row, pos + 1);
98
_table
.InsertRow(row, pos + 1, pos > _list.Count ? -1 : pos);
102
public int IndexOf(DataRow? row) => (null == row) || (row.Table !=
_table
) || ((0 == row.RBTreeNodeId) && (row.RowState == DataRowState.Detached)) ?
111
DataRow row =
_table
.NewRow(-1);
113
_table
.AddRow(row, -1);
119
int record =
_table
.NewRecordFromArray(values);
120
DataRow row =
_table
.NewRow(record);
121
_table
.AddRow(row, -1);
144
public DataRow? Find(object? key) =>
_table
.FindByPrimaryKey(key);
149
public DataRow? Find(object?[] keys) =>
_table
.FindByPrimaryKey(keys);
154
public void Clear() =>
_table
.Clear(false);
160
public bool Contains(object? key) => (
_table
.FindByPrimaryKey(key) != null);
166
public bool Contains(object?[] keys) => (
_table
.FindByPrimaryKey(keys) != null);
179
if ((null == row) || (row.Table !=
_table
) || (-1 == row.rowID))