コード例 #1
0
 public void NotExistTableTest()
 {
     Assert.Throws <AggregateException>(
         () => SQLiteCommandAsync
         .ExecuteDataTableAsync(DefaultSQLiteDb, "SELECT * FROM XXXXXXX")
         .Wait());
 }
コード例 #2
0
 public void InvalidQueryStringTest()
 {
     // DB 마다 다 다르네...
     Assert.Throws <NotSupportedException>(
         () => SQLiteCommandAsync
         .ExecuteDataTableAsync(DefaultSQLiteDb, "SEL * FRO Customers")
         .Wait());
 }