...
Next, add an automatic property to represent the customer’s ID:
public sealed partial class CreditCheckWF : SequentialWorkflowActivity
{
// ID of customer to run credit check against.
public int ID { get; set; }
...
}
When we build the client application at a later step, this property will be set using an incoming
Dictionary
object passed to the workflow runtime.
Performing a Credit Check
Modify your class with an addition automatic property (CreditOK), which represents if the customer
has passed our “rigorous” credit validation process:
public sealed partial class CreditCheckWF : SequentialWorkflowActivity
{
Do'stlaringiz bilan baham: