Ejemplo n.º 1
0
    public void TestPragma()
    {
        var     sql    = "pragma table_info(Album);" + Environment.NewLine + "GO";
        DataSet result = null;

        using (IRepository repo = new SQLiteRepository(chinookConnectionString))
        {
            result = repo.ExecuteSql(sql);
        }
        Assert.IsTrue(result.Tables.Count == 1);
    }
Ejemplo n.º 2
0
 public void TestPragma()
 {
     var sql = "pragma table_info(Album);" + Environment.NewLine + "GO";
     DataSet result = null;
     using (IRepository repo = new SQLiteRepository(chinookConnectionString))
     {
         result = repo.ExecuteSql(sql);
     }
     Assert.IsTrue(result.Tables.Count == 1);
 }