public void TestGetDataTableFromSql() { const string sql = "SELECT * FROM dbo.Customer"; var erg = _db.GetDataTable(sql); Assert.IsTrue(erg.Rows.Count > 0); }
public void TestGetDataTableSql() { // Assert var sql = "SELECT * FROM \"Customer\";"; // Act var result = _db.GetDataTable(sql); // Assert Assert.IsNotNull(result); }