Skip to content
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

Rev eng re-architect for EF Core 3.0 #196

Closed
8 tasks done
ErikEJ opened this issue Mar 22, 2019 · 6 comments
Closed
8 tasks done

Rev eng re-architect for EF Core 3.0 #196

ErikEJ opened this issue Mar 22, 2019 · 6 comments

Comments

@ErikEJ
Copy link
Owner

ErikEJ commented Mar 22, 2019

Rework as a .NET Core command line tool, initially just pass json payload with settings, and initially only support SQL Server.

  • Add shared .NET Standard 2.0 library (with pathhelper, reverseengineeroptions, interface for RevEng20 class etc.)
  • Create new project, .NET Core 3.0 Console app, use shared lib
  • Update UI: Checkbox for EF Core 3.0, get views from table queries, do not disable selection of views
  • Get views in scripting lib
  • Verify UI with actual views
  • Add method in current RevEng20 class that unzips and launches the .NET Core app, and gets results back.
  • Testing!
  • Disable includeViews for not implemented providers (MySQL, SQL CE)

Later publish as dotnet global tool ?

@JonPSmith
Copy link

Hi @ErikEJ. Yep that would help, mainly because of the OnModelCreatingPartial, but I have a solution that works for my client. If EF Core 3 adds your OnModelCreatingPartial I will be happy with that.

BTW: It would be nice to be able to add specific puralization overrides to your tool. I noticed it puralized "Photo" to "Photoes". I has to add a Design Time puraliziser to my system and the first one puralized "Process" to "Proces" so I changed the puraliziser package and now "Process" becomes "Processes".

PS. I used your tool while developing but my client wanted a script.

@ErikEJ
Copy link
Owner Author

ErikEJ commented Apr 16, 2019

My tool supports custom renaming.

@JonPSmith
Copy link

Great about custom renaming. Could you give me a link to the documentation on that.

@ErikEJ
Copy link
Owner Author

ErikEJ commented Apr 18, 2019

Hmmm... Let me create a wiki post!!

@ErikEJ
Copy link
Owner Author

ErikEJ commented Apr 19, 2019

@JonPSmith
Copy link

Thanks. I looked back through your code to ReplacingCandidateNamingService to get a better idea of what is happening underneath.

@ErikEJ ErikEJ changed the title Rev eng re-architect Rev eng re-architect for EF Core 3.0 Sep 30, 2019
ErikEJ pushed a commit that referenced this issue Oct 3, 2019
ErikEJ added a commit that referenced this issue Oct 3, 2019
@ErikEJ ErikEJ closed this as completed Oct 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants