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