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

Re-use the same EntityEntry in modifiers #16

Open
jtheisen opened this issue Mar 31, 2024 · 0 comments
Open

Re-use the same EntityEntry in modifiers #16

jtheisen opened this issue Mar 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jtheisen
Copy link
Owner

Currently EntityEntry is requested from the context in each modifier gratuitously. This is slightly cumbersome to change as EF6 instead has a DbEntityEntry wich behaves the same, but the type difference (and the fact it's a generic type) means one probably has to wrap it to use it as a parameter in the modifiers.

This would be a somewhat sensible optimization.

@jtheisen jtheisen added the enhancement New feature or request label Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant