Beispiel #1
0
        private void InitializeWorkflowManager(Application applicationReference, String sqlPersistenceConnection)
        {
            Application = applicationReference;


            // CREATE INSTANCE STORE AND VIEW FOR PERSISTING TO SQL DATABASE

            instanceStore = new System.Activities.DurableInstancing.SqlWorkflowInstanceStore(sqlPersistenceConnection);

            instanceView = instanceStore.Execute(instanceStore.CreateInstanceHandle(), new System.Activities.DurableInstancing.CreateWorkflowOwnerCommand(), TimeSpan.FromSeconds(30));

            instanceStore.DefaultInstanceOwner = instanceView.InstanceOwner;


            return;
        }
 protected internal virtual void Validate(System.Runtime.DurableInstancing.InstanceView view)
 {
 }