File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/DotNetToolkit.Repository.InMemory Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public static RepositoryOptionsBuilder UseInMemoryDatabase(this RepositoryOption
2020 if ( source == null )
2121 throw new ArgumentNullException ( nameof ( source ) ) ;
2222
23- source . Options . With ( new InMemoryRepositoryContextFactory ( ignoreTransactionWarning ) ) ;
23+ source . UseInternalContextFactory ( new InMemoryRepositoryContextFactory ( ignoreTransactionWarning ) ) ;
2424
2525 return source ;
2626 }
@@ -40,7 +40,7 @@ public static RepositoryOptionsBuilder UseInMemoryDatabase(this RepositoryOption
4040 if ( databaseName == null )
4141 throw new ArgumentNullException ( nameof ( databaseName ) ) ;
4242
43- source . Options . With ( new InMemoryRepositoryContextFactory ( databaseName , ignoreTransactionWarning ) ) ;
43+ source . UseInternalContextFactory ( new InMemoryRepositoryContextFactory ( databaseName , ignoreTransactionWarning ) ) ;
4444
4545 return source ;
4646 }
You can’t perform that action at this time.
0 commit comments