Exemple #1
0
 public void TestDataGenWithoutWhere()
 {
     using (IRepository sourceRepository = new DB4Repository(@"Data Source=c:\tmp\sqlce\Chinook.sdf"))
     {
         var generator = new Generator4(sourceRepository);
         generator.GenerateTableContent("Album", false);
         var script = generator.GeneratedScript;
     }
 }
Exemple #2
0
 public void TestServerDataGenWithGeography()
 {
     using (IRepository sourceRepository = new ServerDBRepository4(@"Data Source=.\SQL2016DEV;Initial Catalog=AW2014Geo;Integrated Security=true;"))
     {
         var generator = new Generator4(sourceRepository);
         generator.GenerateTableContent("Address", false);
         var script = generator.GeneratedScript;
     }
 }
Exemple #3
0
 public void TestDataGenWithoutWhere()
 {
     using (IRepository sourceRepository = new DB4Repository(@"Data Source=c:\tmp\sqlce\Chinook.sdf"))
     {
         var generator = new Generator4(sourceRepository);
         generator.GenerateTableContent("Album", false);
         var script = generator.GeneratedScript;
     }
 }