EF Core 6 Reverse engineer - Table list error
See original GitHub issueDescribe what is not working as expected.
NET5 works fine. I have ported everything to NET6 and now I am trying to run ReverseEngineer, but I am getting this error:
System.Exception: Table list error:
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
at ServiceProvider RevEng.Core.ServiceProviderBuilder.Build(ReverseEngineerCommandOptions options) in C:/Code/EFCorePowerTools/src/GUI/RevEng.Core/ServiceProviderBuilder.cs:line 198
at new RevEng.Core.TableListBuilder(int databaseType, string connectionString, SchemaInfo[] schemas) in C:/Code/EFCorePowerTools/src/GUI/RevEng.Core/TableListBuilder.cs:line 35
at int efreveng.Program.Main(string[] args) in C:/Code/EFCorePowerTools/src/GUI/efreveng/Program.cs:line 28
at List<TableModel> EFCorePowerTools.Handlers.ReverseEngineer.ResultDeserializer.BuildTableResult(string output)
at async Task<List<TableModel>> EFCorePowerTools.Handlers.ReverseEngineer.EfRevEngLauncher.GetTablesInternalAsync(string arguments)
at async Task<List<TableModel>> EFCorePowerTools.Handlers.ReverseEngineer.EfRevEngLauncher.GetTablesAsync(string connectionString, DatabaseType databaseType, SchemaInfo[] schemas)
at async Task<List<TableModel>> EFCorePowerTools.Handlers.ReverseEngineer.TableListBuilder.GetTableDefinitionsAsync(CodeGenerationMode codeGenerationMode)
at async Task<List<TableModel>> EFCorePowerTools.Handlers.ReverseEngineer.ReverseEngineerHandler.GetTablesAsync(DatabaseConnectionModel dbInfo, CodeGenerationMode codeGenerationMode, SchemaInfo[] schemas)
at async Task<bool> EFCorePowerTools.Handlers.ReverseEngineer.ReverseEngineerHandler.LoadDataBaseObjectsAsync(ReverseEngineerOptions options, DatabaseConnectionModel dbInfo, Tuple<List<Schema>, string> namingOptionsAndPath)
at async Task EFCorePowerTools.Handlers.ReverseEngineer.ReverseEngineerHandler.ReverseEngineerCodeFirstAsync(Project project, string optionsPath, bool onlyGenerate)
Please include a complete description that I can redo to reproduce the issue.
Further technical details
EF Core version in use: (e.g. EF Core 5) EF Core 6
EF Core Power Tools version: (found in About dialog - blue questionmark icon on context menu) 2.5.832.0
Database engine: (SQL Server, Azure SQL, Postgres, Oracle, Firebird, SQLite, MySQL) Oracle
Visual Studio version: (e.g. Visual Studio 2019 16.11) Visual Studio 2019 16.11.7
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Scaffolding (Reverse Engineering) - EF Core
Reverse engineering is the process of scaffolding entity type classes and a DbContext class based on a database schema.
Read more >EF core Invalid column name after reverse engineering ...
I have an API using ASP.NET Core 6 & EF6 and I reverse engineered my database (SQL Server) using the EF Core Powers...
Read more >Entity Framework Core SQL Server reverse engineering ...
This post lists some of known issues you may encounter with Entity Framework Core Power Tools SQL Server reverse engineering or when running ......
Read more >Generating a model from an existing database
In this approach, you reverse-engineer a model from an existing database, resulting in the generation of an EDMX file that contains the model ......
Read more >Scaffolding Or Reverse Engineering - Database
Scaffolding Or Reverse Engineering. ODP.NET EF Core supports scaffolding the following tables and views: Relational tables and views. Materialized views.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tomasfil Added to latest daily build
Build .857 is up now