35 references to Deleted
System.Data.Services.Client (35)
System\Data\Services\Client\AtomMaterializer.cs (1)
1651(this.mergeOption == MergeOption.PreserveChanges && state == EntityStates.Deleted);
System\Data\Services\Client\AtomMaterializerLog.cs (4)
147if ((EntityStates.Deleted == this.context.GetEntityDescriptor(link.Target).State) || 148(EntityStates.Deleted == this.context.GetEntityDescriptor(link.Source).State)) 170if ((null != target) && (EntityStates.Deleted == this.context.GetEntityDescriptor(target).State) || 171(EntityStates.Deleted == this.context.GetEntityDescriptor(link.Source).State))
System\Data\Services\Client\Binding\BindingObserver.cs (5)
401(source != null && !this.IsContextTrackingLink(source, sourceProperty, target) && targetDescriptor.State != EntityStates.Deleted)); 448if (targetDescriptor.State != EntityStates.Deleted && !this.IsContextTrackingLink(source, sourceProperty, target)) 469if (targetDescriptor.State != EntityStates.Deleted && !this.IsContextTrackingLink(source, sourceProperty, target)) 675if (targetDescriptor.State != EntityStates.Deleted) 956return descriptor == null || descriptor.State == EntityStates.Deleted;
System\Data\Services\Client\DataServiceContext.cs (24)
942case EntityStates.Deleted: 1293bool delay = this.EnsureRelatable(source, sourceProperty, target, EntityStates.Deleted); 1314if (EntityStates.Deleted != existing.State) 1316existing.State = EntityStates.Deleted; 1422if (sourceResource.State == EntityStates.Deleted) 1533else if (EntityStates.Deleted != state) 1541resource.State = EntityStates.Deleted; 2367case EntityStates.Deleted: 2404else if (EntityStates.Deleted == link.State) 2822Debug.Assert(null != box && ((EntityStates.Added == state) || (EntityStates.Modified == state) || (EntityStates.Deleted == state)), "unexpected entity ResourceState"); 2829if ((null != box.ETag) && ((EntityStates.Deleted == state) || (EntityStates.Modified == state))) 2847Debug.Assert(box.State == EntityStates.Added || box.State == EntityStates.Deleted || box.State == EntityStates.Modified, "the entity must be in one of the 3 possible states"); 2857if (EntityStates.Deleted != box.State) 2862if ((null != box.ETag) && (EntityStates.Deleted == box.State || EntityStates.Modified == box.State)) 2881case EntityStates.Deleted: 3073if (EntityStates.Deleted != entry.State) 3394(parentOfTarget.State != EntityStates.Deleted || 3499if (((EntityStates.Added == state) || (EntityStates.Deleted == state)) && (null == property.CollectionType)) 3521if ((sourceResource.State == EntityStates.Deleted) || 3522((targetResource != null) && (targetResource.State == EntityStates.Deleted))) 3529if ((EntityStates.Deleted == state) || (EntityStates.Unchanged == state)) 3535if (EntityStates.Deleted == state) 3840bool deletedState = (EntityStates.Deleted == box.State); 5618else if (entry.State == EntityStates.Deleted)
System\Data\Services\Client\Descriptor.cs (1)
104(EntityStates.Deleted == this.state),