1 write to persistenceContext
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (1)
1133this.persistenceContext = persistenceContext;
27 references to persistenceContext
System.ServiceModel.Activities (27)
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (27)
1143this.persistenceContext.StartOperation(); 1145this.persistenceContext.ThrowIfCompleted(); 1146this.persistenceContext.ThrowIfNotVisible(); 1147Fx.Assert(!this.persistenceContext.IsInitialized || this.persistenceContext.IsLocked, 1167this.persistenceContext.Fault(); 1176this.persistenceContext.Fault(); 1194this.persistenceContext.FinishOperation(); 1208thisPtr.persistenceContext.store.EndExecute(result); 1217if (!thisPtr.persistenceContext.directory.TryAddAssociations( 1218thisPtr.persistenceContext, 1220thisPtr.persistenceContext.keysToAssociate, 1221thisPtr.applicationKeys ? thisPtr.persistenceContext.keysToDisassociate : null)) 1223lock (thisPtr.persistenceContext.ThisLock) 1225thisPtr.persistenceContext.ThrowIfDisposedOrNotOpen(); 1230if (thisPtr.persistenceContext.directory.ConsistencyScope == DurableConsistencyScope.Global) 1235if ((thisPtr.persistenceContext.keysToAssociate.Count != 0) || 1236((thisPtr.persistenceContext.keysToDisassociate.Count != 0) && 1239if (thisPtr.persistenceContext.store != null) 1242foreach (InstanceKey key in thisPtr.persistenceContext.keysToAssociate) 1248foreach (InstanceKey key in thisPtr.persistenceContext.keysToDisassociate) 1258beginExecuteResult = thisPtr.persistenceContext.store.BeginExecute( 1259thisPtr.persistenceContext.handle, 1285this.persistenceContext.RationalizeSavedKeys(true); 1289this.persistenceContext.keysToAssociate.Clear(); 1299this.persistenceContext.Fault(); 1303this.persistenceContext.OnFinishOperationHelper(exception, false);