-
-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inital migration needed for migration tool #30
Comments
I am not able to reproduce, could you share a project that causes this issue to oocur? |
Could you clarify this with an example, I do not understand this |
But basically what i did was, reverse engineer an existing database. build solution, use migration tool |
As to code first: Maybe I'm missing something, but after I defined my model classes, I have to manually create a db context. It would be awesome to 'reverse engineer' the model classes and generate a dbcontext. |
Never heard about that idea before - it is not so simple.. Suggest you file a seperate issue for that feature request. |
OK, this issue is just a bug (your test project is a .NET Core project, and I have not done enough testing with that project type) |
Fixed in latest daily build, thanks for reporting this! |
Opening the migrations tool without having a single migration yet results in error message.
Steps to reproduce
Include a complete description that I can redo to reproduce the issue.
Further technical details
EF Core Power Tools version: (found in About dialog - blue questionmark icon on context menu)
599
Microsoft Visual Studio
EF Core Power Tools
Error:
System.ArgumentException: Absolute path information is required.
Parameter name: path
at System.Reflection.Assembly.LoadFile(String path)
at ReverseEngineer20.EfCoreModelBuilder.GetOperations(String outputPath) in C:\Code\EFCorePowerTools\src\GUI\ReverseEngineer20\EFCoreModelBuilder.cs:line 83
at ReverseEngineer20.EfCoreModelBuilder.BuildResult(String outputPath, Boolean generateDdl) in C:\Code\EFCorePowerTools\src\GUI\ReverseEngineer20\EFCoreModelBuilder.cs:line 34
at ReverseEngineer20.Program.Main(String[] args) in C:\Code\EFCorePowerTools\src\GUI\efpt\Program.cs:line 40
Database engine: (SQlite, SQL Compact, SQL Server, Postgres)
sql server (localdb)
Visual Studio version: (e.g. Visual Studio 2017 15.7)
15.7.2
It would be awesome to have the tool create a db context from a given model (namespace). I feel that is missing. Reverse engineering works very good. Just could use some help in code first scenario
The text was updated successfully, but these errors were encountered: