Ejemplo n.º 1
0
        public void PersonCountTest()
        {
            using (OracleConnection conn = new OracleConnection(OracleUtility.ConnectionString))
            {
                conn.Open();

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

                int i = table.GetTable().Count;

                Assert.AreEqual(count, i);
            }
        }