public void TestServerMigration() { string path = @"C:\temp\testChinook40.sqlce"; using (IRepository sourceRepository = new DB4Repository(chinookConnectionString)) { var generator = new Generator4(sourceRepository, path); generator.GenerateAllAndSave(true, false, false, false); } Assert.IsTrue(System.IO.File.Exists(path)); using (IRepository serverRepository = new ServerDBRepository4(migrateConnectionString)) { serverRepository.ExecuteSqlFile(path); } }