Skip to content

Commit 652ba70

Browse files
fix
1 parent 3131a03 commit 652ba70

File tree

1 file changed

+1
-1
lines changed
  • examples/src/EntityFrameworkCore.Ydb.QuickStart

1 file changed

+1
-1
lines changed

examples/src/EntityFrameworkCore.Ydb.QuickStart/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public BloggingContext CreateDbContext(string[] args)
3838
// Required because migration operations may use suppressed or explicit transactions,
3939
// and enabling retries in this case leads to runtime errors with this provider.
4040
//
41-
// "User transaction is not supported with a TransactionSuppressed migrations or a retrying execution strategy."
41+
// "System.NotSupportedException: User transaction is not supported with a TransactionSuppressed migrations or a retrying execution strategy."
4242
//
4343
// Bottom line: ALWAYS disable retries for design-time/migration contexts to avoid migration failures and errors.
4444
return new BloggingContext(

0 commit comments

Comments
 (0)