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

Add support for entity framework context extensions #1502

Open
danielmarbach opened this issue Jun 28, 2024 · 0 comments
Open

Add support for entity framework context extensions #1502

danielmarbach opened this issue Jun 28, 2024 · 0 comments
Labels

Comments

@danielmarbach
Copy link
Contributor

Describe the feature.

Raising this here because it is closest to where it might belong, but that doesn't necessarily mean it has to be implemented in this repository.

Is your feature related to a problem? Please describe.

There is non-trivial amount of code that is required to hook up entity framework contexts with the synchronized storage session. Ideally, this would not be something our customers would have to do and we would provide a convenience method on top of ServiceCollection similar to the AddDbContext extension method, encapsulating all the heavily lifting and corner cases.

See also #1500 and https://docs.particular.net/samples/entity-framework-core/#code-walk-through-unit-of-work-creating-data-context

Describe the requested feature

See above

Describe alternatives you've considered

The alternative is to have an extension method that can be copy pasted in a clearly visible spot somewhere.

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant