-
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
Generate the compiled model during build #24894
Comments
I second this. I'm seeing great improvements in startup times for a project with a large model, but I keep forgetting to run ef optimize and am worried other devs on the project will as well. I'd envision this task would look at the files associated with the DBContext, then the ones associated with the model. If any associated with the DbContext are newer than the ones associated with the model, run dotnet ef optimize. |
We need this for EF Core to run in Native AOT mode. We will need some way to automatically build compiled model and transparently shim in for Native AOT DX. |
Refactor OperationExecutor to use IOperationReportHandler instead of Reporter directly Part of #24894
Refactor OperationExecutor to use IOperationReportHandler instead of Reporter directly Part of #24894
Refactor OperationExecutor to use IOperationReportHandler instead of Reporter directly Part of dotnet#24894
This allows to make sure that the context is using an up-to-date model, most useful for Release builds.
To avoid dependency cycles the compiled model needs to be compiled in an assembly separate from the startup assembly
The text was updated successfully, but these errors were encountered: