Esempio n. 1
0
 public bool CloneDatabase(LocalConnection conn, bool overwrite = false)
 {
     return(CloneDatabase(conn.DbName, overwrite));
 }
 private static void testInstallSource(LocalConnection conn, String name, String path, String srcStr)
 {
     testInstallSource(conn, name, conn.InstallSource(name, path, srcStr));
 }
 private static void testInstallSource(LocalConnection conn, Source src, string name = null)
 {
     testInstallSource(conn, name == null ? src.Name : name, conn.InstallSource(src));
 }
 public static void testInstallSource(LocalConnection conn, string name, bool installSourceRes)
 {
     Assert.True(installSourceRes);
     Assert.IsEmpty(conn.CollectProblems());
     Assert.True(conn.ListSource().ContainsKey(name));
 }