private MigrationsRunner CreateMigrationsRunner(string folderName) { var options = new MigrationOptions(); options.AddAssemblyScriptsProvider( Assembly.GetExecutingAssembly(), $"Kros.KORM.UnitTests.Resources.ScriptsForRunner.{folderName}"); return(new MigrationsRunner(ServerHelper.Connection.ConnectionString, options)); }
public Helper(Database database, string folderName) { _database = database; var options = new MigrationOptions(); options.AddAssemblyScriptsProvider( Assembly.GetExecutingAssembly(), $"Kros.KORM.UnitTests.Resources.ScriptsForRunner.{folderName}"); Runner = new MigrationsRunner(_database, options); }