protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { // get the class name of the caller to get a unique name for the database if (!optionsBuilder.IsConfigured || optionsBuilder.Options.FindExtension <MySQLOptionsExtension>() == null) { optionsBuilder.UseMySQL(MySQLTestStore.GetContextConnectionString(this.GetType())); } }
public override TestStore GetOrCreate(string storeName) => MySQLTestStore.GetOrCreate(storeName);
public override TestStore Create(string storeName) => MySQLTestStore.Create(storeName);