public void TestGetAllPrimaryKeys2() { var list = new List <PrimaryKey>(); using (IRepository repo = new SQLiteRepository(infoConnectionString)) { list = repo.GetAllPrimaryKeys(); } Assert.IsTrue(list.Count == 12); Assert.IsTrue(list[0].KeyName == "CUSTOMER219ORDERS"); }
public void TestGetAllPrimaryKeys() { var list = new List <PrimaryKey>(); using (IRepository repo = new SQLiteRepository(chinookConnectionString)) { list = repo.GetAllPrimaryKeys(); } Assert.IsTrue(list.Count == 12); Assert.IsTrue(list[0].KeyName == "sqlite_master_PK_Album"); }
public void TestGetAllPrimaryKeys2() { var list = new List <PrimaryKey>(); using (IRepository repo = new SQLiteRepository(infoConnectionString)) { list = repo.GetAllPrimaryKeys(); } Assert.AreEqual(11, list.Count); Assert.AreEqual("CUSTOMER219ORDERS", list[0].KeyName); }
public void TestGetAllPrimaryKeys2() { var list = new List<PrimaryKey>(); using (IRepository repo = new SQLiteRepository(infoConnectionString)) { list = repo.GetAllPrimaryKeys(); } Assert.IsTrue(list.Count == 12); Assert.IsTrue(list[0].KeyName == "CUSTOMER219ORDERS"); }
public void TestGetAllPrimaryKeys() { var list = new List<PrimaryKey>(); using (IRepository repo = new SQLiteRepository(chinookConnectionString)) { list = repo.GetAllPrimaryKeys(); } Assert.IsTrue(list.Count == 12); Assert.IsTrue(list[0].KeyName == "sqlite_master_PK_Album"); }