2 writes to dbResourceAllocator
System.Workflow.Runtime (2)
Hosting\SqlWorkflowPersistenceService.cs (2)
88
this.
dbResourceAllocator
= dbResourceAllocator;
106
this.
dbResourceAllocator
= dbResourceAllocator;
36 references to dbResourceAllocator
System.Workflow.Runtime (36)
Hosting\SqlWorkflowPersistenceService.cs (36)
93
this.connection = this.
dbResourceAllocator
.GetEnlistedConnection(
115
conn = this.
dbResourceAllocator
.OpenNewConnection();
176
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@uidInstanceID", item.InstanceId));
177
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@state", item.SerializedActivity));
178
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@status", item.Status));
179
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@unlocked", item.Unlocked));
180
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@blocked", item.Blocked));
181
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@info", item.Info));
182
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@ownedUntil", ownedUntil == DateTime.MaxValue ? SqlDateTime.MaxValue : ownedUntil));
183
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@ownerID", DbOwnerId(ownerId)));
184
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@nextTimer", item.NextTimer));
185
DbParameter p1 = this.
dbResourceAllocator
.NewDbParameter();
192
DbParameter p2 = this.
dbResourceAllocator
.NewDbParameter();
218
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("instanceID", instanceId));
219
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("completedScopeID", scopeId));
220
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("state", state));
234
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@uidInstanceID", instanceId));
235
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@ownerID", DbOwnerId(ownerId)));
258
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@ownedUntil", ownedUntil == DateTime.MaxValue ? SqlDateTime.MaxValue : ownedUntil));
259
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@ownerID", DbOwnerId(ownerId)));
260
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@now", DateTime.UtcNow));
307
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@ownedUntil", ownedUntil == DateTime.MaxValue ? SqlDateTime.MaxValue : ownedUntil));
308
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@ownerID", DbOwnerId(ownerId)));
309
DbParameter p2 = this.
dbResourceAllocator
.NewDbParameter();
317
DbParameter found = this.
dbResourceAllocator
.NewDbParameter();
372
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@ownedUntil", ownedUntil == DateTime.MaxValue ? SqlDateTime.MaxValue : ownedUntil));
373
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@ownerID", DbOwnerId(ownerId)));
374
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@now", DateTime.UtcNow));
422
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@uidInstanceID", instanceStateId));
423
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@ownerID", DbOwnerId(ownerId)));
424
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@ownedUntil", timeout == DateTime.MaxValue ? SqlDateTime.MaxValue : timeout));
425
DbParameter p1 = this.
dbResourceAllocator
.NewDbParameter();
432
DbParameter p2 = this.
dbResourceAllocator
.NewDbParameter();
492
command.Parameters.Add(this.
dbResourceAllocator
.NewDbParameter("@completedScopeID", scopeId));
493
DbParameter p1 = this.
dbResourceAllocator
.NewDbParameter();
552
connection = this.
dbResourceAllocator
.OpenNewConnection();