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

nested IDbContextFactory.CreateWithTransaction #50

Open
telmorr opened this issue May 7, 2017 · 1 comment
Open

nested IDbContextFactory.CreateWithTransaction #50

telmorr opened this issue May 7, 2017 · 1 comment

Comments

@telmorr
Copy link

telmorr commented May 7, 2017

Why it's not possible to have some kind of nested transactions with nested scopes created with IDbContextFactory.CreateWithTransaction?

https://github.com/mehdime/DbContextScope/blob/master/Mehdime.Entity/Implementations/DbContextScope.cs#L43

I have several entities that create a scope with CreateWithTransaction because each of them should be transactional, but I also need to compose them and they (the inners) should not be dependent on each other (the outers) about creating a transaction.

I'm not doing the right approach?

@edidiway
Copy link

edidiway commented Oct 9, 2017

anyway, this is the great library I think.
But I am facing the same issue. please response this issue. thank you before.

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

No branches or pull requests

2 participants