Skip to content

Commit

Permalink
fixes #1967
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikEJ committed Dec 8, 2023
1 parent 6c9476c commit 75a0bdf
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/GUI/RevEng.Core.60/ServiceProviderBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.Extensions.DependencyInjection;
using Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal;
using Oracle.EntityFrameworkCore.Design.Internal;
using Pomelo.EntityFrameworkCore.MySql.Design.Internal;
using RevEng.Common;
using RevEng.Core.Procedures;
Expand All @@ -22,7 +23,6 @@
#if !CORE80
using FirebirdSql.EntityFrameworkCore.Firebird.Design.Internal;
using Microsoft.EntityFrameworkCore.SqlServer.Design;
using Oracle.EntityFrameworkCore.Design.Internal;
#endif

namespace RevEng.Core
Expand Down Expand Up @@ -217,12 +217,12 @@ public static IServiceCollection AddEfpt(this IServiceCollection serviceCollecti
}

break;
#if !CORE80

case DatabaseType.Oracle:
var oracleProvider = new OracleDesignTimeServices();
oracleProvider.ConfigureDesignTimeServices(serviceCollection);
break;

#if !CORE80
case DatabaseType.Firebird:
var firebirdProvider = new FbDesignTimeServices();
firebirdProvider.ConfigureDesignTimeServices(serviceCollection);
Expand Down
2 changes: 1 addition & 1 deletion src/GUI/RevEng.Core.80/RevEng.Core.80.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite" Version="8.0.0" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL.NodaTime" Version="8.0.0" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL.NetTopologySuite" Version="8.0.0" />
<!--<PackageReference Include="Oracle.EntityFrameworkCore" Version="7.21.9" />-->
<PackageReference Include="Oracle.EntityFrameworkCore" Version="8.21.121" />
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql.NetTopologySuite" Version="8.0.0-beta.2" />
<PackageReference Include="SimplerSoftware.EntityFrameworkCore.SqlServer.NodaTime" Version="8.0.0" />
<PackageReference Include="System.CodeDom" Version="7.0.0" />
Expand Down
7 changes: 5 additions & 2 deletions src/GUI/RevEng.Shared/Providers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -350,11 +350,14 @@ public static List<NuGetPackage> GetNeededPackages(DatabaseType databaseType, bo

if (databaseType == DatabaseType.Oracle)
{
var pkgVersion = "7.21.9";
var pkgVersion = "7.21.12";
switch (codeGenerationMode)
{
case CodeGenerationMode.EFCore6:
pkgVersion = "6.21.90";
pkgVersion = "6.21.120";
break;
case CodeGenerationMode.EFCore8:
pkgVersion = "8.21.121";
break;
}

Expand Down
Binary file modified src/GUI/lib/efreveng60.exe.zip
Binary file not shown.
Binary file modified src/GUI/lib/efreveng70.exe.zip
Binary file not shown.
Binary file modified src/GUI/lib/efreveng80.exe.zip
Binary file not shown.

0 comments on commit 75a0bdf

Please sign in to comment.