Exemplo n.º 1
0
        public void PersonCountTest()
        {
            using (MySqlConnection conn = new MySqlConnection(MySqlUtility.ConnectionString))
            {
                conn.Open();

                int count = Convert.ToInt32(conn.GetScalar("Select Count(*) From Person"));

                int i = table.GetTable().Count;

                Assert.AreEqual(count, i);
            }
        }