Set query splitting behaviour. Prevents errors due to it not being set

7.0-servicing
Christopher Jolly 2 years ago
parent 629398c76b
commit 70af0c286c

@ -1,6 +1,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using EntityFrameworkCore.Jet.Infrastructure;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
namespace EntityFrameworkCore.Jet.FunctionalTests.TestUtilities
@ -15,6 +16,8 @@ namespace EntityFrameworkCore.Jet.FunctionalTests.TestUtilities
optionsBuilder.MaxBatchSize(maxBatch.Value);
}
optionsBuilder.UseQuerySplittingBehavior(QuerySplittingBehavior.SingleQuery);
optionsBuilder.ExecutionStrategy(d => new TestJetRetryingExecutionStrategy(d));
optionsBuilder.CommandTimeout(JetTestStore.CommandTimeout);

Loading…
Cancel
Save