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