31 references to Unchanged
System.Data.Services.Client (31)
System\Data\Services\Client\AtomMaterializer.cs (1)
1650(this.mergeOption == MergeOption.PreserveChanges && state == EntityStates.Unchanged) ||
System\Data\Services\Client\AtomMaterializerLog.cs (3)
116EntityDescriptor descriptor = new EntityDescriptor(entity.Key, entry.QueryLink, entry.EditLink, entry.ResolvedObject, null, null, null, entry.ETagText, EntityStates.Unchanged); 120descriptor.State = EntityStates.Unchanged; 268if (state == EntityStates.Unchanged)
System\Data\Services\Client\DataServiceContext.cs (24)
938case EntityStates.Unchanged: 1505EntityDescriptor descriptor = new EntityDescriptor(identity, null /* selfLink */, editLink, entity, null /* parent */, null /* parent property */, null /*entitySetName*/, etag, EntityStates.Unchanged); 1581if (EntityStates.Unchanged == resource.State) 1726end.State = EntityStates.Unchanged; 1734resource.State = EntityStates.Unchanged; 1762end.State = EntityStates.Unchanged; 1783this.EnsureRelatable(source, sourceProperty, target, EntityStates.Unchanged); 1800(EntityStates.Unchanged == existing.State) || 1830relation.State = EntityStates.Unchanged; 2255return ((EntityStates.Modified == x) || (EntityStates.Unchanged == x)); 2424entry.State = EntityStates.Unchanged; 2450descriptor.State = EntityStates.Unchanged; 2458link.State = EntityStates.Unchanged; 3118Debug.Assert(EntityStates.Unchanged == entry.State, "should have moved out of insert"); 3476if ((null != target) || ((EntityStates.Modified != state) && (EntityStates.Unchanged != state))) 3494if ((EntityStates.Unchanged == state) && (null == target) && (null != property.CollectionType)) 3519if ((EntityStates.Added == state) || (EntityStates.Unchanged == state)) 3529if ((EntityStates.Deleted == state) || (EntityStates.Unchanged == state)) 4163if (EntityStates.Unchanged == f.State) 4553if (this.processingMediaLinkEntryPut && EntityStates.Unchanged == box.State) 4578if (((EntityStates.Unchanged == entry.State) || (EntityStates.Modified == entry.State)) && 4807!this.processingMediaLinkEntryPut || (entry.State == EntityStates.Unchanged || entry.State == EntityStates.Modified), 5138else if (entityDescriptor.State == EntityStates.Unchanged || entityDescriptor.State == EntityStates.Modified) 5592Debug.Assert(descriptor.State == EntityStates.Unchanged, "The materializer should always set the entity state to Unchanged.");
System\Data\Services\Client\Descriptor.cs (2)
103(EntityStates.Unchanged == this.state) || 107return (EntityStates.Unchanged != this.state);
System\Data\Services\Client\LinkDescriptor.cs (1)
43: this(source, sourceProperty, target, EntityStates.Unchanged)