コード例 #1
0
        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);
        }
コード例 #2
0
 public static AssemblyResource GetResource(this Assembly assembly, string name)
 {
     return(AssemblyResource.InAssembly(assembly, name));
 }