Esempio n. 1
0
    public void TestGetIndexesFromTable()
    {
        var list = new List <Index>();

        using (IRepository repo = new SQLiteRepository(chinookConnectionString))
        {
            list = repo.GetIndexesFromTable("Album");
        }
        Assert.IsTrue(list.Count == 2);
        Assert.IsTrue(list[1].IndexName == "IPK_Album");
    }
Esempio n. 2
0
 public void TestGetIndexesFromTable()
 {
     var list = new List<Index>();
     using (IRepository repo = new SQLiteRepository(chinookConnectionString))
     {
         list = repo.GetIndexesFromTable("Album");
     }
     Assert.IsTrue(list.Count == 2);
     Assert.IsTrue(list[1].IndexName == "IPK_Album");
 }