1 write to persistenceContext
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (1)
783
this.
persistenceContext
= persistenceContext;
29 references to persistenceContext
System.ServiceModel.Activities (29)
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (29)
791
this.
persistenceContext
.StartOperation();
793
this.
persistenceContext
.ThrowIfCompleted();
794
this.
persistenceContext
.ThrowIfNotVisible();
795
Fx.Assert(!this.
persistenceContext
.IsInitialized || this.
persistenceContext
.IsLocked,
806
if (this.
persistenceContext
.store != null)
813
this.
persistenceContext
.PopulateActivationMetadata(saveCommand);
814
if (this.
persistenceContext
.IsSuspended)
816
saveCommand.InstanceMetadataChanges.Add(WorkflowServiceNamespace.SuspendReason, new InstanceValue(this.
persistenceContext
.SuspendedReason));
823
foreach (InstanceKey key in this.
persistenceContext
.keysToAssociate)
827
foreach (InstanceKey key in this.
persistenceContext
.keysToDisassociate)
844
IAsyncResult result = this.
persistenceContext
.store.BeginExecute(
845
this.
persistenceContext
.handle,
859
this.
persistenceContext
.IsCompleted = true;
860
this.
persistenceContext
.IsLocked = false;
864
this.
persistenceContext
.IsLocked = this.saveStatus != SaveStatus.Unlocked;
879
this.
persistenceContext
.Fault();
895
this.
persistenceContext
.FinishOperation();
909
thisPtr.
persistenceContext
.store.EndExecute(result);
910
thisPtr.
persistenceContext
.IsCompleted = thisPtr.saveStatus == SaveStatus.Completed;
911
thisPtr.
persistenceContext
.IsLocked = thisPtr.saveStatus == SaveStatus.Locked;
917
this.
persistenceContext
.IsInitialized = true;
924
result = this.
persistenceContext
.BeginEnlist(this.timeoutHelper.RemainingTime(), PrepareAsyncCompletion(SaveAsyncResult.handleEndEnlist), this);
934
this.
persistenceContext
.RationalizeSavedKeys(this.saveStatus == SaveStatus.Locked);
941
thisPtr.
persistenceContext
.EndEnlist(result);
943
if (!thisPtr.
persistenceContext
.ScheduleDetach())
945
thisPtr.
persistenceContext
.directory.RemoveInstance(thisPtr.
persistenceContext
);
954
this.
persistenceContext
.OnFinishOperationHelper(exception, false);