We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21c33ba commit 10f1d39Copy full SHA for 10f1d39
src/EFCore/Infrastructure/DatabaseFacade.cs
@@ -396,7 +396,7 @@ public virtual IDbContextTransaction? CurrentTransaction
396
/// See <see href="https://aka.ms/efcore-docs-transactions">Transactions in EF Core</see> for more information and examples.
397
/// </para>
398
/// </remarks>
399
- [Obsolete("Use EnableAutoTransactions instead")]
+ [Obsolete("Use " + nameof(AutoTransactionBehavior) + " instead")]
400
public virtual bool AutoTransactionsEnabled
401
{
402
get => AutoTransactionBehavior is AutoTransactionBehavior.Always or AutoTransactionBehavior.WhenNeeded;
0 commit comments