当前位置:网站首页>.net WCF WF4.5 状态机、书签与持久化
.net WCF WF4.5 状态机、书签与持久化
2022-07-28 17:04:00 【51CTO】
如果同时需要多个书签可以直接在需要的位置创建书签,会认为是同一个实例。
若需要实现的效果是同时需要好几个部门审核,那么只要在对应的位置同时创建多个书签即可。
编写书签代码活动
注意几个地方,创建书签需要继承NativeActivity,随之要修改的就是Execute的参数类型
如下所有注释部分
1.使用WorkflowApplication启动活动
2.持久化的sql路径

3.添加程序集


3.添加引用
4.在合适位置绑定数据持久化使用的数据库
到这一步数据库中便已经能够查看到数据了,接下来要在需要的位置获取我们的书签
5.继续执行后续步骤
6.绑定生命周期事件
边栏推荐
- Functions brought by the binding of official account and video Number
- 矢量网络分析仪(矢网)组成和原理简介
- Openmv (VI) -- STM32 realizes object recognition and handwritten digit recognition
- Some methods of realizing video account
- solidity的require报错
- 【干货】如何建立支持和产品之间的密切关系?
- 美国对华为禁令开始波及欧洲芯片厂商
- 信号源原理简介
- Digital filter (IV) -- converting analog filter into digital filter
- 连线:谁拥有未来的艺术?OpenAI允许Dall-E用户将作品商用化,目前而言
猜你喜欢

After CentOS uses docker to run mysql, the remote connection needs to open the port

Cloud container and cloud native

What role does low code play in the digital transformation?

Food safety | will the salt content of bread exceed the standard? A few tips to teach you to eat bread correctly!

Power adapter global definition
![[reading notes] for paper: summary of three papers in r-cnn series](/img/1d/8b862ac66ea04d9371f64e35fc4396.png)
[reading notes] for paper: summary of three papers in r-cnn series

个人制作:AD库、元件库、封装库及3D模型,免费

2023年网络安全预算规划的五个关键考虑因素

网络RJ45接口详解

USB Type-C 之CC线简介
随机推荐
Go的walk库报错
Five key considerations for network security budget planning in 2023
"Queen's day on March 8" has doubled the sales of on-site viewers and video numbers?
微信公众号授权登录后报redirect_uri参数错误的问题
Seven steps, in-depth interpretation of data meaning
Video number one video broadcast 260million
Openmv (IV) -- STM32 to realize feature detection
MySQL operation Encyclopedia
1.08 billion dollars! TCL technology acquires Samsung Suzhou 8.5 generation line: the production capacity will increase by 60% in the next year!
示波器探头详解
Strong performance growth! Wentai technology's net profit in the first half of the year was 1.7 billion yuan, a sharp increase of 767.19% year-on-year!
体验5分钟开发微信小程序
视频号运营有这个工具就够了
Syntax error: non declaration statement outside function bodygo and syntax error: unexpected {, expect
Openmv (V) -- STM32 to realize face recognition
[reading notes] for paper: summary of three papers in r-cnn series
Apple supplier JDI plans to sell Baishan LCD plant and equipment for us $675million
There is a special cryptology language called asn.1
7-day sales of video number exceed one million
视频号直播支持商品回放