20 writes to tempRecord
System.Data (20)
fx\src\data\System\Data\DataRow.cs (5)
56
tempRecord
= builder._record;
537
tempRecord
= -1;
551
tempRecord
= _table.NewRecord(newRecord);
569
_table.FreeRecord(ref
tempRecord
);
1256
tempRecord
= _table.NewRecord(newRecord);
fx\src\data\System\Data\DataTable.cs (15)
762
row.
tempRecord
= recordIndex;
766
row.
tempRecord
= -1;
2031
targetRow.
tempRecord
= -1;
2083
targetRow.
tempRecord
= proposedRecord;
2554
row.
tempRecord
= -1;
2576
row.
tempRecord
= record;
2648
row.
tempRecord
= -1;
3022
row.
tempRecord
= row.newRecord;
3029
row.
tempRecord
= -1;
3034
row.
tempRecord
= -1;
3870
row.
tempRecord
= proposedRecord;
3879
row.
tempRecord
= -1;
3886
row.
tempRecord
= -1;
4602
dataRow.
tempRecord
= recordNo;
4673
dataRow.
tempRecord
= cacheTempRecord;
60 references to tempRecord
System.Data (60)
fx\src\data\System\Data\DataRelation.cs (3)
269
if (childRow.
tempRecord
== -1)
301
if (childRow.
tempRecord
!= -1) {
302
ChildTable.recordManager.SetKeyValues(childRow.
tempRecord
, ChildKey, parentKeyValues);
fx\src\data\System\Data\DataRow.cs (22)
320
Debug.Assert(-1 !=
tempRecord
, "how no propsed record to cancel?");
438
if (
tempRecord
== -1) {
463
Debug.Assert(-1 !=
tempRecord
, "how no propsed record to cancel?");
529
if (
tempRecord
!= -1) {
530
if (
tempRecord
< _table.recordManager.LastFreeRecord) {
540
_table.recordManager.VerifyRecord(
tempRecord
, this);
552
Debug.Assert(-1 !=
tempRecord
, "missing temp record");
570
Debug.Assert(-1 ==
tempRecord
, "unexpected temp record");
622
if (
tempRecord
!= -1) {
625
_table.SetNewRecord(this,
tempRecord
, suppressEnsurePropertyChanged: true);
905
if (
tempRecord
!= -1)
906
return
tempRecord
;
924
if (
tempRecord
== -1)
926
return
tempRecord
;
1002
return(
tempRecord
!= -1);
1004
return(
tempRecord
!= -1 || newRecord != -1);
1134
bool immediate = (
tempRecord
== -1);
1257
if (
tempRecord
!= -1) {
1259
_table.SetNewRecord(this,
tempRecord
, suppressEnsurePropertyChanged: true);
1289
if (-1 !=
tempRecord
) {//Copy temp record for the row in edit mode.
1291
_columns[i].CopyValueIntoStore(
tempRecord
, storeList[i], (BitArray)nullbitList[i], storeIndex);
1302
if (column.DataExpression != null && !inChangingEvent &&
tempRecord
== -1 && newRecord != -1)
fx\src\data\System\Data\DataTable.cs (22)
658
if (-1 != row.
tempRecord
) {
2030
int proposedRecord = targetRow.
tempRecord
; // by saving off the tempRecord, EndEdit won't free newRecord
2553
int record = row.
tempRecord
;
2601
if (row.
tempRecord
!= -1) {
3033
row.newRecord = row.
tempRecord
;
3165
c.Init(row.
tempRecord
);
3854
if (row.
tempRecord
!= proposedRecord) {
3985
if ((currentRecord != row.
tempRecord
) && // Delete, AcceptChanges, BeginEdit
4075
if ((originalRecord != -1) && (originalRecord != row.
tempRecord
) &&
4601
int cacheTempRecord = dataRow.
tempRecord
;
4654
Debug.Assert(dataRow.
tempRecord
== recordNo, "tempRecord has been changed in event handler");
4662
if (dataRow.
tempRecord
!= recordNo) {
4670
recordNo = dataRow.
tempRecord
;
4677
if (dataRow.
tempRecord
!= -1) {
6180
if (row.
tempRecord
!= -1) {
6199
if (row.
tempRecord
!= -1) {
6218
if (tableRow.
tempRecord
!= -1)
6248
if (relatedRow.
tempRecord
!= -1) {
6272
if (row.
tempRecord
!= -1) {
6273
column[row.
tempRecord
] = aggCurrent;
6287
if (row.
tempRecord
!= -1) {
6288
column[row.
tempRecord
] = column.DataExpression.Evaluate(row, DataRowVersion.Proposed);
fx\src\data\System\Data\ForeignKeyConstraint.cs (3)
518
if (childKey.RecordsEqual(childRow.
tempRecord
, parentKeyValuesRecord)) {
530
if (childKey.Table == parentKey.Table && childRow.
tempRecord
!= -1) {
535
if (0 != column.CompareValueTo(childRow.
tempRecord
, value)) {
fx\src\data\System\Data\RecordManager.cs (1)
243
(record == rows[record].
tempRecord
), "record of a different row");
fx\src\data\System\Data\Select.cs (2)
512
else if (row.
tempRecord
== record) {
614
else if (row.
tempRecord
== record) {
fx\src\data\System\Data\Selection.cs (1)
234
else if (row.
tempRecord
== record) {
fx\src\data\System\Data\UniqueConstraint.cs (1)
239
(action == DataRowAction.Rollback && row.
tempRecord
!= -1))) {
fx\src\data\System\Data\XmlDataLoader.cs (2)
440
c.Init(row.
tempRecord
);
1009
c[row.
tempRecord
] = null != foundColumns[i] ? foundColumns[i] : DBNull.Value;
fx\src\data\System\NewXml\XmlDataDocument.cs (3)
1568
if (parentRowInTree.
tempRecord
!= -1 && colInParent.CompareValueTo( parentRowInTree.
tempRecord
, comparedValue ) != 0 ) {
2299
c.Init(row.
tempRecord
);