-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Scaffold entity configuration into separate files #27777
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reading through the scaffolding code and the commands configuration (DbContextScaffoldCommand.Configure.cs) I couldn't find a feature that solves this problem.
I am porting a large legacy app to .NET Core, the new .NET Core codebase is a slave to the "legacy" codebase and must re-scaffold often. The legacy codebase is still in very much active development.
When scaffolding from the legacy database, the dbcontext size becomes unmanageable due to the thousands of lines of entity configuration. This causes several issues:
Being able to specific a directory for entity configurations to be output to as individual files would solve this problem.
The text was updated successfully, but these errors were encountered: