1 2 3 4 5 6 7 8 9 10 11 12
|
Dictionary<string, object> dic = new Dictionary<string, object> {{"Oeuf", new
OeufALaCoque(){Fermier=true}}};
WorkflowInstance instance = workflowRuntime.CreateWorkflow(typeof (DVP_WF_Persistance.monWorkflow),
dic);
instance.Start();
SqlWorkflowPersistenceService stateservice =
new SqlWorkflowPersistenceService(
"Data Source=localhost;Initial Catalog=Developpez;Integrated Security=True", true,
new TimeSpan(0, 1, 0), new TimeSpan(0, 0, 30));
workflowRuntime.AddService(stateservice); |
Partager