public static void ExecuteScript(this TestDatabase testDatabase, string assemblyResourceScript) { var script = AssemblyResource.InThisAssembly("database.sql").GetText(); var connection = new SqlConnection(testDatabase.ConnectionString); connection.ExecuteSql(script); }
public static AssemblyResource GetResource(this Assembly assembly, string name) { return(AssemblyResource.InAssembly(assembly, name)); }