ARTICLE DETAIL

资讯详情

深耕网站建设、视觉设计与SEO优化的一线实战洞察。

11、工作流开发与 SQL 持久化实践

11、工作流开发与 SQL 持久化实践

工作流开发与 SQL 持久化实践

1. 工作流应用基础

在工作流开发中,我们可以通过代码实现特定的功能。以图书查询为例,以下是Program.cs文件的实现:

using System; using System.Linq; using System.Activities; using System.Activities.Statements; using System.Collections.Generic; using BookLookup.ServiceReference1; namespace BookLookup { class Program { static void Main(string[] args) { // create dictionary with input arguments for the workflow IDictionary<string, object> input = new Dictionary<string, object> { { "Author" , "Margaret Mitchell" }, { "Title" , "Gone with the Wind" }, { "ISBN" , "1234567890123" } };
返回列表