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