Skip to content

Commit 5bf34b1

Browse files
authored
Update EF provider libraries (danielgerlag#520)
1 parent 2b37c7f commit 5bf34b1

File tree

19 files changed

+559
-103
lines changed

19 files changed

+559
-103
lines changed

WorkflowCore.sln

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WorkflowCore.DSL", "src\Wor
141141
EndProject
142142
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WorkflowCore.Sample18", "src\samples\WorkflowCore.Sample18\WorkflowCore.Sample18.csproj", "{5BE6D628-B9DB-4C76-AAEB-8F3800509A84}"
143143
EndProject
144-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ScratchPad", "test\ScratchPad\ScratchPad.csproj", "{FD7B9F06-9970-4C30-A2C0-FD7412FF620B}"
145-
EndProject
146144
Global
147145
GlobalSection(SolutionConfigurationPlatforms) = preSolution
148146
Debug|Any CPU = Debug|Any CPU
@@ -345,10 +343,6 @@ Global
345343
{5BE6D628-B9DB-4C76-AAEB-8F3800509A84}.Debug|Any CPU.Build.0 = Debug|Any CPU
346344
{5BE6D628-B9DB-4C76-AAEB-8F3800509A84}.Release|Any CPU.ActiveCfg = Release|Any CPU
347345
{5BE6D628-B9DB-4C76-AAEB-8F3800509A84}.Release|Any CPU.Build.0 = Release|Any CPU
348-
{FD7B9F06-9970-4C30-A2C0-FD7412FF620B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
349-
{FD7B9F06-9970-4C30-A2C0-FD7412FF620B}.Debug|Any CPU.Build.0 = Debug|Any CPU
350-
{FD7B9F06-9970-4C30-A2C0-FD7412FF620B}.Release|Any CPU.ActiveCfg = Release|Any CPU
351-
{FD7B9F06-9970-4C30-A2C0-FD7412FF620B}.Release|Any CPU.Build.0 = Release|Any CPU
352346
EndGlobalSection
353347
GlobalSection(SolutionProperties) = preSolution
354348
HideSolutionNode = FALSE
@@ -406,7 +400,6 @@ Global
406400
{78217204-B873-40B9-8875-E3925B2FBCEC} = {E6CEAD8D-F565-471E-A0DC-676F54EAEDEB}
407401
{20B98905-08CB-4854-8E2C-A31A078383E9} = {EF47161E-E399-451C-BDE8-E92AAD3BD761}
408402
{5BE6D628-B9DB-4C76-AAEB-8F3800509A84} = {5080DB09-CBE8-4C45-9957-C3BB7651755E}
409-
{FD7B9F06-9970-4C30-A2C0-FD7412FF620B} = {E6CEAD8D-F565-471E-A0DC-676F54EAEDEB}
410403
EndGlobalSection
411404
GlobalSection(ExtensibilityGlobals) = postSolution
412405
SolutionGuid = {DC0FA8D3-6449-4FDA-BB46-ECF58FAD23B4}

src/providers/WorkflowCore.Persistence.EntityFramework/WorkflowCore.Persistence.EntityFramework.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@
1414
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
1515
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
1616
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
17-
<Version>3.0.0</Version>
17+
<Version>3.1.0</Version>
1818
<Description>Base package for Workflow-core peristence providers using entity framework</Description>
19-
<AssemblyVersion>3.0.0.0</AssemblyVersion>
20-
<FileVersion>3.0.0.0</FileVersion>
21-
<PackageVersion>3.0.0</PackageVersion>
19+
<AssemblyVersion>3.1.0.0</AssemblyVersion>
20+
<FileVersion>3.1.0.0</FileVersion>
21+
<PackageVersion>3.1.0</PackageVersion>
2222
</PropertyGroup>
2323

2424
<ItemGroup>
2525
<ProjectReference Include="..\..\WorkflowCore\WorkflowCore.csproj" />
2626
</ItemGroup>
2727

2828
<ItemGroup>
29-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.0" />
30-
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="3.1.0" />
29+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.2" />
30+
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="3.1.2" />
3131
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
3232
</ItemGroup>
3333

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using System;
2+
using Microsoft.EntityFrameworkCore.Design;
3+
4+
namespace WorkflowCore.Persistence.MySQL
5+
{
6+
public class MigrationContextFactory : IDesignTimeDbContextFactory<MysqlContext>
7+
{
8+
public MysqlContext CreateDbContext(string[] args)
9+
{
10+
return new MysqlContext(@"Server=127.0.0.1;Database=myDataBase;Uid=myUsername;Pwd=myPassword;");
11+
}
12+
}
13+
}

src/providers/WorkflowCore.Persistence.MySQL/Migrations/20200223041701_Activities.Designer.cs

Lines changed: 316 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)