Skip to content

Commit

Permalink
Enhance DataVerse reverse engineering for EF Core 8 and EF Core 9 (#2517
Browse files Browse the repository at this point in the history
)

fixes #2516
  • Loading branch information
ErikEJ authored Sep 18, 2024
1 parent ac8d7a3 commit 8543401
Show file tree
Hide file tree
Showing 3 changed files with 1,563 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/Core/RevEng.Core.60/ServiceProviderBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
using Microsoft.EntityFrameworkCore.Scaffolding.Internal;
using Microsoft.EntityFrameworkCore.Sqlite.Design.Internal;
using Microsoft.EntityFrameworkCore.SqlServer.Design.Internal;
using Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.Extensions.DependencyInjection;
using Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal;
Expand Down Expand Up @@ -191,9 +192,7 @@ private static void AddSqlServerProviderServices(IServiceCollection serviceColle

if (options.DatabaseType == DatabaseType.SQLServer)
{
#if !CORE80
serviceCollection.AddSingleton<IDatabaseModelFactory, PatchedSqlServerDatabaseModelFactory>();
#endif
serviceCollection.AddSqlServerStoredProcedureDesignTimeServices();
serviceCollection.AddSqlServerFunctionDesignTimeServices();
}
Expand Down
Loading

0 comments on commit 8543401

Please sign in to comment.