public static JetDbContextOptionsBuilder ApplyConfiguration(this JetDbContextOptionsBuilder optionsBuilder) { var maxBatch = TestEnvironment.GetInt(nameof(JetDbContextOptionsBuilder.MaxBatchSize)); if (maxBatch.HasValue) { optionsBuilder.MaxBatchSize(maxBatch.Value); } optionsBuilder.ExecutionStrategy(d => new TestJetRetryingExecutionStrategy(d)); optionsBuilder.CommandTimeout(JetTestStore.CommandTimeout); return(optionsBuilder); }
protected virtual void ConfigureOptions(JetDbContextOptionsBuilder sqlCeDbContextOptionsBuilder) { }
public static JetDbContextOptionsBuilder ApplyConfiguration(this JetDbContextOptionsBuilder optionsBuilder) { System.Data.Jet.JetConfiguration.ShowSqlStatements = true; return(optionsBuilder); }