File tree Expand file tree Collapse file tree 6 files changed +42
-3
lines changed
demo/WalkingTec.Mvvm.Demo
WalkingTec.Mvvm.Mvc/Helper Expand file tree Collapse file tree 6 files changed +42
-3
lines changed Original file line number Diff line number Diff line change 22
33## v6.x.x
44
5+ ##6 .5.4(2024-1-19)
6+ * ** 修改:** 修复工作流在Oracle中不能正常启动的问题
7+ * ** 修改:** 修复_workflowapi/GetMyApprove方法
8+ * ** 修改:** 修复LayUI模式下checkbox不能禁用的问题
9+
10+
511##6 .5.1(2023-11-19)
612* ** 修改:** 修复GetSelectItemList方法的bug
713* ** 修改:** 修复LayUI Tab页中使用按钮组会导致Tab页切换失效的问题
Original file line number Diff line number Diff line change 2525 "Connections" : [
2626 {
2727 "Key" : " default" ,
28- "Value" : " Server=(localdb)\\ mssqllocaldb;Database=next ;Trusted_Connection=True;MultipleActiveResultSets=true" ,
28+ "Value" : " Server=(localdb)\\ mssqllocaldb;Database=nextdd ;Trusted_Connection=True;MultipleActiveResultSets=true" ,
2929 "DBType" : " sqlserver"
3030 }
3131
Original file line number Diff line number Diff line change @@ -590,6 +590,11 @@ protected override void OnModelCreating(ModelBuilder modelBuilder)
590590 if ( DBType == DBTypeEnum . Oracle )
591591 {
592592 modelBuilder . Model . SetMaxIdentifierLength ( 30 ) ;
593+ modelBuilder . Entity < Elsa_Bookmark > ( ) . ToTable ( "Bookmarks" ) ;
594+ modelBuilder . Entity < Elsa_Trigger > ( ) . ToTable ( "Triggers" ) ;
595+ modelBuilder . Entity < Elsa_WorkflowDefinition > ( ) . ToTable ( "WorkflowDefinitions" ) ;
596+ modelBuilder . Entity < Elsa_WorkflowExecutionLogRecord > ( ) . ToTable ( "WorkflowExecutionLogRecords" ) ;
597+ modelBuilder . Entity < Elsa_WorkflowInstance > ( ) . ToTable ( "WorkflowInstances" ) ;
593598 }
594599 }
595600
Original file line number Diff line number Diff line change 6060using System . Threading . Tasks ;
6161using Elsa . Activities . Http ;
6262using Elsa . Activities . Http . Services ;
63+ using Elsa . Persistence . EntityFramework . Core ;
6364
6465namespace WalkingTec . Mvvm . Mvc
6566{
@@ -597,7 +598,7 @@ public static IServiceCollection AddWtmWorkflow(this IServiceCollection services
597598 elsa . UseNonPooledEntityFrameworkPersistence ( ef => ef . UseSqlite ( cs . Value ) ) ;
598599 break ;
599600 case DBTypeEnum . Oracle :
600- elsa . UseNonPooledEntityFrameworkPersistence ( ef => ef . UseOracle ( cs . Value ) ) ;
601+ elsa . UseNonPooledEntityFrameworkPersistence < WtmElsaContext > ( ef => ef . UseOracle ( cs . Value , op => op . UseOracleSQLCompatibility ( cs . Version ?? "11" ) ) ) ;
601602 break ;
602603 case DBTypeEnum . DaMeng :
603604 break ;
Original file line number Diff line number Diff line change 1+ using Elsa . Persistence . EntityFramework . Core ;
2+ using Microsoft . EntityFrameworkCore ;
3+
4+ namespace WalkingTec . Mvvm . Mvc . Helper
5+ {
6+ public class WtmElsaContext : ElsaContext
7+ {
8+ public WtmElsaContext ( DbContextOptions options ) : base ( options )
9+ {
10+ }
11+
12+ public override string Schema
13+ {
14+ get
15+ {
16+ if ( Database . IsOracle ( ) )
17+ {
18+ return null ;
19+ }
20+ else
21+ {
22+ return base . Schema ;
23+ }
24+ }
25+ }
26+ }
27+ }
Original file line number Diff line number Diff line change 11<Project >
22 <PropertyGroup >
3- <VersionPrefix >6.5.3 </VersionPrefix >
3+ <VersionPrefix >6.5.4 </VersionPrefix >
44 </PropertyGroup >
55
66 <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|AnyCPU'" >
You can’t perform that action at this time.
0 commit comments