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

Generate compiled relational model #24896

Closed
Tracked by #24110 ...
AndriySvyryd opened this issue May 13, 2021 · 2 comments · Fixed by #30494
Closed
Tracked by #24110 ...

Generate compiled relational model #24896

AndriySvyryd opened this issue May 13, 2021 · 2 comments · Fixed by #30494
Labels
area-model-building area-perf closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-enhancement
Milestone

Comments

@AndriySvyryd
Copy link
Member

AndriySvyryd commented May 13, 2021

  • Override methods that throw for a runtime model
  • Add tests that assert the relational model, view, query mapping and default mappings in the compiled model.

Related to #20284

@AndriySvyryd AndriySvyryd added this to the Backlog milestone May 18, 2021
@AndriySvyryd AndriySvyryd self-assigned this Oct 19, 2022
AndriySvyryd added a commit that referenced this issue Feb 21, 2023
AndriySvyryd added a commit that referenced this issue Mar 11, 2023
AndriySvyryd added a commit that referenced this issue Mar 15, 2023
@AndriySvyryd AndriySvyryd added the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Mar 16, 2023
@AndriySvyryd AndriySvyryd modified the milestones: Backlog, 8.0.0 Mar 16, 2023
AndriySvyryd added a commit that referenced this issue Mar 25, 2023
@AndriySvyryd AndriySvyryd removed their assignment Mar 27, 2023
AndriySvyryd added a commit that referenced this issue Mar 27, 2023
@ajcvickers ajcvickers modified the milestones: 8.0.0, 8.0.0-preview4 Apr 20, 2023
@ajcvickers ajcvickers modified the milestones: 8.0.0-preview4, 8.0.0 Nov 14, 2023
@ZvonimirMatic
Copy link

Hi, would it be possible to add an optional parameter in the Optimize-DbContext that signals not to generate relational model? Currently the process of generating compiled model takes a lot of time (I guess because the program needs to write a huge file). It takes a long time even without this, but now it takes me like 20 minutes to generate a compiled model. I also need to open up the *ModelBuilder.cs file in another program and delete the method every time.

@AndriySvyryd
Copy link
Member Author

@ZvonimirMatic Yes, that is tracked in #33483 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-model-building area-perf closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants