6 writes to current
System.Data.Linq (6)
ChangeTracker.cs (6)
254
this.
current
= current;
499
mm.StorageAccessor.SetBoxedValue(ref this.
current
, freshValue);
581
accThis.StorageAccessor.SetBoxedValue(ref this.
current
, parentValue);
597
accThis.StorageAccessor.SetBoxedValue(ref this.
current
, null);
639
this.type.Discriminator.MemberAccessor.SetBoxedValue(ref
current
, code);
778
dsacc.SetBoxedValue(ref this.
current
, loader);
37 references to current
System.Data.Linq (37)
ChangeTracker.cs (37)
274
get { return this.
current
; }
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) ||
387
if (this.
current
is INotifyPropertyChanging) {
388
this.original = this.
current
;
391
this.original = this.CreateDataCopy(this.
current
);
417
if (!(this.
current
is INotifyPropertyChanging)) {
497
object currentValue = mm.StorageAccessor.GetBoxedValue(this.
current
);
504
IEnumerable ds = this.tracker.services.GetDeferredSourceFactory(am).CreateDeferredSource(this.
current
);
505
if (am.StorageAccessor.HasValue(this.
current
)) {
506
this.AssignMember(this.
current
, am, ds.Cast<Object>().SingleOrDefault());
558
if (this.original == this.
current
) {
559
this.original = this.CreateDataCopy(this.
current
);
571
bool hasAssigned = mm.StorageAccessor.HasAssignedValue(this.
current
);
572
bool hasLoaded = mm.StorageAccessor.HasLoadedValue(this.
current
);
574
object parent = mm.StorageAccessor.GetBoxedValue(this.
current
);
592
if (accThis.StorageAccessor.GetBoxedValue(this.
current
) != null) {
623
object currentDiscriminator = type.Discriminator.MemberAccessor.GetBoxedValue(this.
current
);
636
MetaType currentType = type.GetInheritanceType(this.
current
.GetType());
648
if (this.
current
== this.original) {
654
if (mm.StorageAccessor.HasValue(this.
current
)) {
662
object currentValue = mm.MemberAccessor.GetBoxedValue(this.
current
);
668
else if (mm.IsDeferred && mm.StorageAccessor.HasAssignedValue(this.
current
)) {
676
if (this.
current
== this.original) {
693
object currentValue = mm.MemberAccessor.GetBoxedValue(this.
current
);
698
else if (this.original == null || (mm.IsDeferred && !mm.StorageAccessor.HasLoadedValue(this.
current
))) {
710
member.StorageAccessor.HasAssignedValue(this.
current
) &&
738
if (acc.HasAssignedValue(this.
current
) || acc.HasLoadedValue(this.
current
)) {
742
IEnumerable loader = (IEnumerable)dsacc.GetBoxedValue(this.
current
);
771
if (!acc.HasAssignedValue(this.
current
) && !acc.HasLoadedValue(this.
current
)) {
773
IEnumerable loader = (IEnumerable)dsacc.GetBoxedValue(this.
current
);
777
loader = factory.CreateDeferredSource(this.
current
);
814
otherItem = assoc.ThisMember.DeferredValueAccessor.GetBoxedValue(this.
current
);
817
otherItem = assoc.ThisMember.StorageAccessor.GetBoxedValue(this.
current
);