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

Document guidelines for using EF Core with trimming or NativeAOT #3988

Closed
roji opened this issue Aug 18, 2022 · 1 comment · Fixed by #4868
Closed

Document guidelines for using EF Core with trimming or NativeAOT #3988

roji opened this issue Aug 18, 2022 · 1 comment · Fixed by #4868
Assignees
Milestone

Comments

@roji
Copy link
Member

roji commented Aug 18, 2022

Depending on where we end up, this may just be "disable it", or a set of coding guidelines to make things work well when trimming is enabled.

@roji roji self-assigned this Aug 18, 2022
@ajcvickers ajcvickers added this to the 7.0.0 milestone Aug 24, 2022
@AndriySvyryd AndriySvyryd changed the title Document guidelines for using EF Core with trimming Document guidelines for using EF Core with trimming or NativeAOT Jul 19, 2023
@AndriySvyryd
Copy link
Member

AndriySvyryd commented Jul 19, 2023

Using a compiled model with precompiled queries is recommended for trimming and required for NativeAOT.

Also update https://aka.ms/efcore-docs-trimming link

@roji roji modified the milestones: 7.0.0, 9.0.0 Nov 10, 2024
roji added a commit to roji/EntityFramework.Docs that referenced this issue Nov 10, 2024
roji added a commit to roji/EntityFramework.Docs that referenced this issue Nov 10, 2024
@roji roji closed this as completed in c574492 Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants