9 writes to state
System.Data.Linq (9)
ChangeTracker.cs (9)
256
this.
state
= State.PossiblyModified;
338
this.
state
= State.New;
343
this.
state
= State.PossiblyModified;
350
this.
state
= State.Modified;
359
this.
state
= State.PossiblyModified;
367
this.
state
= State.Deleted;
373
this.
state
= State.Dead;
379
this.
state
= State.Removed;
386
this.
state
= State.PossiblyModified;
19 references to state
System.Data.Linq (19)
ChangeTracker.cs (19)
232
switch (this.
state
) {
237
return this.
state
.ToString();
282
get { return this.
state
== State.New; }
286
get { return this.
state
== State.Deleted; }
290
get { return this.
state
== State.Removed; }
294
get { return this.
state
== State.Dead; }
298
get { return this.
state
== State.Modified || (this.
state
== State.PossiblyModified && this.current != this.original && this.HasChangedValues()); }
302
get { return this.
state
== State.PossiblyModified && (this.current == this.original || !this.HasChangedValues()); }
306
get { return this.
state
== State.Modified || this.
state
== State.PossiblyModified; }
312
if (this.
state
== State.Modified || this.
state
== State.PossiblyModified) {
326
return this.
state
== State.New ||
327
this.
state
== State.Deleted ||
328
this.
state
== State.Modified ||
329
(this.
state
== State.PossiblyModified && this.current != this.original) ||
711
(this.
state
== State.Modified ||
712
(this.
state
== State.PossiblyModified && this.HasChangedValue(member)));