1 write to table
System.Data (1)
fx\src\data\System\Data\Selection.cs (1)
121
this.
table
= table;
46 references to table
System.Data (46)
fx\src\data\System\Data\Selection.cs (46)
220
DataRow row =
table
.recordManager[record];
259
LockCookie lc =
table
.indexesLock.UpgradeToWriterLock(-1);
264
table
.ShadowIndexCopy();
265
table
.indexes.Add(this);
270
table
.indexesLock.DowngradeFromWriterLock(ref lc);
277
LockCookie lc =
table
.indexesLock.UpgradeToWriterLock(-1);
281
table
.ShadowIndexCopy();
282
table
.indexes.Remove(this);
286
table
.indexesLock.DowngradeFromWriterLock(ref lc);
333
Debug.Assert(null !=
table
.recordManager[record1], "record1 no datarow");
334
Debug.Assert(null !=
table
.recordManager[record2], "record2 no datarow");
342
return
table
.Rows.IndexOf(
table
.recordManager[record1]).CompareTo(
table
.Rows.IndexOf(
table
.recordManager[record2]));
348
table
.recordManager.VerifyRecord(record1,
table
.recordManager[record1]);
349
table
.recordManager.VerifyRecord(record2,
table
.recordManager[record2]);
350
return _comparison(
table
.recordManager[record1],
table
.recordManager[record2]);
368
Debug.Assert(null !=
table
.recordManager[record1], "record1 no datarow");
369
Debug.Assert(null !=
table
.recordManager[record2], "record2 no datarow");
375
if (null ==
table
.recordManager[record1]) {
376
return ((null ==
table
.recordManager[record2]) ? 0 : -1);
378
else if (null ==
table
.recordManager[record2]) {
384
int diff =
table
.recordManager[record1].rowID.CompareTo(
table
.recordManager[record2].rowID);
388
diff = ((int)
table
.recordManager[record1].GetRecordState(record1)).CompareTo((int)
table
.recordManager[record2].GetRecordState(record2));
456
DataRow row =
table
.recordManager[record];
469
table
.recordManager.VerifyRecord(record, row);
611
int c = comparison(key, (TRow)
table
.recordManager[records.Key(x)]);
668
return
table
.recordManager[GetRecord(i)];
676
DataRow[] newRows =
table
.NewRowArray(range.Count);
680
newRows[i] =
table
.recordManager[iterator.Current];
700
foreach(DataRow b in
table
.Rows)
754
if ((0 == IndexFields.Length) && (null !=
table
))
756
DataRow row =
table
.recordManager[record];
757
append = (
table
.Rows.IndexOf(row)+1 ==
table
.Rows.Count);
794
get { return (!suspendEvents && _listeners.HasListeners && !
table
.AreIndexEventsSuspended); }
823
_listeners.Notify(changedType, ((0 <= record) ?
table
.recordManager[record] : null), trackAddRemove,
880
table
.recordManager[oldRecord] ==
table
.recordManager[newRecord],
937
return
table
;