Over 10 Million Study Resources Now at Your Fingertips


Download as :
Rating : ⭐⭐⭐⭐⭐
Price : $10.99
Language:EN
Pages: 2

The rst step the workfl saves into the dnrequest table the database

Persistence and Human Interactions❘535

status
},
Activities =
{
new CreateDomainNameRequest
{
DomainName = new InArgument < string > (ctx = > DomainName.Get(ctx)), Request = new OutArgument < DNRequest > (ctx = > request.Get(ctx)) },
new InvokeMethod
{
TargetType = typeof (RequestClientProxy),
MethodName = “AddDNRequestToList”,
Parameters =
{
new InArgument < DNRequest > (ctx = > request.Get(ctx))
}
},
new WaitForApproval
{
BookmarkName = “ApproveRequest”,
Status = new OutArgument < string > (ctx = > status.Get(ctx)) },
new InvokeMethod
{
TargetType = typeof (RequestClientProxy),
MethodName = “UpdateDNRequest”,
Parameters =
{
new InArgument < int > (ctx = > request.Get(ctx).RequestID), new InArgument < string > (ctx = > status.Get(ctx))
}
}
}
};
}
}
}

The CreateDomainNameRequest wraps the request into a DNRequest record, and saves it into the database.

The fi rst InvokeMethod activity calls the AddDNRequestToList method that appends the new request into the list of request (that is, the list in the middle of Figure 11 - 19).

4.

The second InvokeMethod activity calls the UpdateDNRequest method that updates the state of the request in the list.

Preparing the Workfl ow Database

In addition to the tables the script created, the

FIGURE 11 - 20: The Create New SQL Server Database dialog

using System.Activities;
using DomainNameDAL;

namespace RequestClient.Activities

How It Works
Login account
Login Your Account
Add to cart
Add to Cart
Payment
Make payment
Document download
Download File
PageId: ELI098E29B
img
Uploaded by :
DZDRGLDR
Page 1 Preview
the rst step the workfl saves into the dnrequest t
Sell Your Old Documents & Earn Wallet Balance