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

EnlistTransaction does not exist in EF 2.0 #1622

Closed
SimonCropp opened this issue Aug 4, 2019 · 4 comments
Closed

EnlistTransaction does not exist in EF 2.0 #1622

SimonCropp opened this issue Aug 4, 2019 · 4 comments

Comments

@SimonCropp
Copy link
Contributor

https://github.com/aspnet/EntityFramework.Docs/blob/master/samples/core/Saving/Saving/Transactions/CommitableTransaction/Sample.cs#L37

context.Database.EnlistTransaction(transaction);

EnlistTransaction was added in 2.1 dotnet/efcore#5595

So this stops the samples from compiling for me. any ideas why it doesnt break other people?

@ajcvickers
Copy link
Member

EF Core 2.0 and lower are out-of-support, so closing docs issues specific to these releases.

@SimonCropp
Copy link
Contributor Author

This wasnt about v2. It was about not being able to build the current version of docs

@ajcvickers
Copy link
Member

@SimonCropp My mistake. Duplicate of #1074

@SimonCropp
Copy link
Contributor Author

Cool. Thanks for the forward

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

No branches or pull requests

2 participants