Workflow Design Basics(工作流设计基础)
The Workflow module integrates Windows Workflow Foundation (WF) 4.0 support into XAF. WF is a workflow management framework you can use to create more manageable, workflow-enabled applications. The module simplifies design and workflow execution, requiring users to be familiar only with the general concepts associated with workflow design. This topic describes the basics of using the module. For step-by-step instructions showing how to design a sample workflow, refer to the How to: Design Workflow help topic.
Workflow 模块将 Windows Workflow Foundation (WF) 4.0 支持集成到 XAF 中。WF 是一个工作流管理框架,可用于创建更易于管理且支持工作流的应用程序。该模块简化了设计和工作流执行,用户只需熟悉与工作流设计相关的一般概念即可。本主题介绍使用该模块的基础知识。有关设计示例工作流的分步说明,请参阅“如何:设计工作流”帮助主题。
Note
ASP.NET Core Blazor applications do not support the Workflow Module.
ASP.NET Core Blazor应用程序不支持工作流模块。
WWF and WCF will not be ported to .NET Core/.NET by Microsoft. We recommend that you implement Controllers or custom solutions such as Hangfire, Quartz.NET, and others for former Workflow Module scenarios. To save your time, consider this free module within the eXpand Framework.
微软不会将WWF和WCF移植到.NET Core/.NET。对于以前的工作流模块场景,我们建议你实现控制器或自定义解决方案,如Hangfire、Quartz.NET等。为节省你的时间,可以考虑eXpand框架中的这个免费模块。
Workflow Module(工作流模块)
If you use the Entity Framework Core, register the following entity types within your DbContext. Otherwise, if you use XPO, skip this step.
如果使用的是实体框架核心(Entity Framework Core),请在DbContext中注册以下实体类型。否则,如果使用的是XPO,则跳过此步骤。
C#
using DevExpress.Workflow.EF;
using DevExpress.ExpressApp.Workflow.EF;
using DevExpress.ExpressApp.Workflow.Versioning;
// ...
public DbSet<EFWorkflowDefinition> EFWorkflowDefinition {
get; set; }
public DbSet<EFStartWorkflowRequest> EFStartWorkflowRequest {
get; set; }
public DbSet<EFRunningWorkflowInstanceInfo> EFRunningWorkflowInstanceInfo {
get; set; }

最低0.47元/天 解锁文章
963

被折叠的 条评论
为什么被折叠?



