-
Notifications
You must be signed in to change notification settings - Fork 245
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
Example using dbcontextfactory? #325
Comments
Nevermind, I just realised there is a Factory version now. It wasn't in the eshop example so I missed it |
This isn't available in the current release, but you can have a look at this PR 289. |
I realised too late that this was scheduled for 15/5. I will wait :) |
Is there an example of this? I'm trying to figure out how to get my functioning code, which uses DI and IRepository converted to the dbcontextfactory concept. I'm not succeeding and an example would be appreciated. Thanks |
The feature is already published some time ago in version 7. The feature was a contribution from a community member, and there are a few tests here where you can see the usage. Feel free to reopen the issue if you have further questions. |
Is it possible to use this in conjuction with Dbcontextfactory? I am just wondering since RepositoryBase uses the regular DbContext.
The text was updated successfully, but these errors were encountered: