You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Thinktecture.EntityFrameworkCore.SqlServer.Testing/EntityFrameworkCore/Testing/SqlServerTestDbContextProvider.cs
_masterConnection=options.MasterConnection??thrownewArgumentException($"The '{nameof(options.MasterConnection)}' cannot be null.",nameof(options));
75
75
_masterDbContextOptions=options.MasterDbContextOptions??thrownewArgumentException($"The '{nameof(options.MasterDbContextOptions)}' cannot be null.",nameof(options));
thrownewArgumentException($"The isolation level '{options.SharedTablesIsolationLevel}' cannot be less than '{nameof(IsolationLevel.ReadCommitted)}'.");
92
+
if(isolationLevel<IsolationLevel.ReadCommitted)
93
+
thrownewArgumentException($"The isolation level '{isolationLevel}' cannot be less than '{nameof(IsolationLevel.ReadCommitted)}'.",nameof(isolationLevel));
Copy file name to clipboardExpand all lines: src/Thinktecture.EntityFrameworkCore.SqlServer.Testing/EntityFrameworkCore/Testing/SqlServerTestDbContextProviderBuilder.cs
+17-1Lines changed: 17 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
usingSystem.Data;
1
2
usingSystem.Data.Common;
2
3
usingSystem.Globalization;
3
4
usingMicrosoft.Data.SqlClient;
@@ -25,6 +26,7 @@ public class SqlServerTestDbContextProviderBuilder<T> : TestDbContextProviderBui
0 commit comments