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