예제 #1
0
        public void TestCase()
        {
            var outParam = 0;
            var count    = ExecutingAStoredProcedureExample.Example(out outParam);

            Assert.AreEqual(count, outParam);
            Assert.Greater(count, 0);
            Assert.Greater(outParam, 0);
        }
예제 #2
0
        public void TestExampleWithDataReader()
        {
            var setCount    = 0;
            var recordCount = 0;

            ExecutingAStoredProcedureExample.ExampleWithDataReader(out setCount, out recordCount);

            Assert.Greater(setCount, 0);
            Assert.Greater(recordCount, 0);
        }