7 writes to original
System.Data.Linq (7)
ChangeTracker.cs (7)
255
this.
original
= original;
337
this.
original
= null;
360
this.
original
= this.CreateDataCopy(originalState);
388
this.
original
= this.current;
391
this.
original
= this.CreateDataCopy(this.current);
458
this.
original
= this.CreateDataCopy(freshInstance);
559
this.
original
= this.CreateDataCopy(this.current);
21 references to original
System.Data.Linq (21)
ChangeTracker.cs (21)
278
get { return this.
original
; }
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()); }
329
(this.state == State.PossiblyModified && this.current != this.
original
) ||
558
if (this.
original
== this.current) {
586
if (mm.IsDeferred || (this.
original
!= null && mm.MemberAccessor.GetBoxedValue(this.
original
) != null)) {
591
if (this.
original
!= null && this.HasChangedValue(accThis)) {
622
if (this.
original
!= null) {
625
object dbDiscriminator = type.Discriminator.MemberAccessor.GetBoxedValue(this.
original
);
631
currentDiscriminator,
original
.GetType().Name, currentTypeFromDiscriminator);
648
if (this.current == this.
original
) {
652
return mm.StorageAccessor.HasAssignedValue(this.
original
);
655
if (this.
original
!= null && mm.StorageAccessor.HasValue(this.
original
)) {
661
object baseline = mm.MemberAccessor.GetBoxedValue(this.
original
);
676
if (this.current == this.
original
) {
694
if (this.
original
!= null && mm.StorageAccessor.HasValue(this.
original
)) {
695
object originalValue = mm.MemberAccessor.GetBoxedValue(this.
original
);
698
else if (this.
original
== null || (mm.IsDeferred && !mm.StorageAccessor.HasLoadedValue(this.current))) {