3 writes to persistenceManager
System.Activities (3)
System\Activities\WorkflowApplication.cs (3)
631
this.
persistenceManager
= new PersistenceManager(this.instanceStore, GetInstanceMetadata(), this.Id);
1401
this.
persistenceManager
= newManager;
1782
this.
persistenceManager
= new PersistenceManager(InstanceStore, GetInstanceMetadata());
35 references to persistenceManager
System.Activities (35)
System\Activities\WorkflowApplication.cs (35)
306
return this.
persistenceManager
!= null;
628
if (this.
persistenceManager
== null && this.instanceStore != null)
793
if (this.
persistenceManager
!= null)
795
this.
persistenceManager
.Abort();
1397
Fx.Assert(this.
persistenceManager
== null, "SetPersistenceManager should only be called once");
1408
deserializedRuntimeState = ExtractRuntimeState(values, this.
persistenceManager
.InstanceId);
1767
if (this.
persistenceManager
!= null)
1784
if (!this.
persistenceManager
.IsInitialized)
1851
if (!this.
persistenceManager
.IsInitialized)
1853
this.
persistenceManager
.Initialize(this.DefinitionIdentity, timeoutHelper.RemainingTime());
1858
Fx.Assert(this.
persistenceManager
.IsInitialized, "Caller should have initialized Persistence Manager");
1873
values = LoadValues(this.
persistenceManager
, timeoutHelper, loadAny);
1881
this.instanceId = this.
persistenceManager
.InstanceId;
2107
if (this.
persistenceManager
!= null)
2288
if (!this.
persistenceManager
.IsInitialized)
2290
this.
persistenceManager
.Initialize(this.DefinitionIdentity, timeoutHelper.RemainingTime());
2292
if (!this.
persistenceManager
.IsLocked && Transaction.Current != null)
2294
this.
persistenceManager
.EnsureReadyness(timeoutHelper.RemainingTime());
2334
this.
persistenceManager
.Save(data, operation, timeoutHelper.RemainingTime());
2394
if (HasPersistenceProvider && this.
persistenceManager
.OwnerWasCreated)
2398
this.
persistenceManager
.DeleteOwner(timeoutHelper.RemainingTime());
2887
this.
persistenceManager
.SetMutablemetadata(new Dictionary<XName, InstanceValue>
3591
if (this.instance.HasPersistenceProvider && !this.instance.
persistenceManager
.IsInitialized)
3593
IAsyncResult result = this.instance.
persistenceManager
.BeginInitialize(this.instance.DefinitionIdentity, this.timeoutHelper.RemainingTime(),
3606
thisPtr.instance.
persistenceManager
.EndInitialize(result);
3612
if (this.instance.HasPersistenceProvider && !this.instance.
persistenceManager
.IsLocked && this.dependentTransaction != null)
3614
IAsyncResult result = this.instance.
persistenceManager
.BeginEnsureReadyness(this.timeoutHelper.RemainingTime(),
3627
thisPtr.instance.
persistenceManager
.EndEnsureReadyness(result);
3736
result = this.instance.
persistenceManager
.BeginSave(this.data, this.operation, this.timeoutHelper.RemainingTime(), PrepareAsyncCompletion(persistedCallback), this);
3755
thisPtr.instance.
persistenceManager
.EndSave(result);
3867
if (this.instance.HasPersistenceProvider && this.instance.
persistenceManager
.OwnerWasCreated &&
3875
deleteOwnerResult = this.instance.
persistenceManager
.BeginDeleteOwner(this.timeoutHelper.RemainingTime(),
3889
thisPtr.instance.
persistenceManager
.EndDeleteOwner(result);
4991
if (application.Controller.IsPersistable && application.
persistenceManager
!= null)
5170
if (instance.
persistenceManager
!= null || instance.HasPersistenceModule)