Ejemplo n.º 1
0
 public override void CallingIndexExistsCanAcceptTableNameWithSingleQuote()
 {
     using (var table = new Db2ISeriesTestTable("Test'Table", Processor, null, "ID INT"))
     {
         table.WithIndexOn("ID", "UI_id");
         Processor.IndexExists(null, table.Name, "UI_id").ShouldBeTrue();
     }
 }
Ejemplo n.º 2
0
 public override void CallingIndexExistsReturnsTrueIfIndexExistsWithSchema()
 {
     using (var table = new Db2ISeriesTestTable(Processor, "TstSchma", "ID INT"))
     {
         table.WithIndexOn("ID", "UI_id");
         Processor.IndexExists("TstSchma", table.Name, "UI_id").ShouldBeTrue();
     }
 }