// Get an instance of our WF.
WorkflowInstance myWorkflow =
wfRuntime.CreateWorkflow(typeof(CreditCheckWF), args);
// Start it up!
myWorkflow.Start();
}
}
}
When you run your application, enter a customer ID value, ensuring that the customer ID you
enter does not current have a reference in the Orders table (to ensure that the item will be success-
fully deleted from the Customers table).
As you test credit ratings, you should eventually find that a risky customer has been deleted
from the Customers table and placed into the CreditRisk table. In fact, for testing purposes, you
may wish to add a dummy entry into the Customers table and attempt to verify credit for a fixed
individual.
Do'stlaringiz bilan baham: |