public void GetBatchedRecordsAffected()
        {
            MyAdapter da = new MyAdapter();

            Assert.True(da.GetBatchedRecordsAffected(int.MinValue, out int recordsAffected, out Exception error));
            Assert.Equal(1, recordsAffected);
            Assert.Null(error);
        }
Exemplo n.º 2
0
        public void GetBatchedRecordsAffected()
        {
            MyAdapter da = new MyAdapter();
            int       recordsAffected = 0;
            Exception error           = null;

            Assert.IsTrue(da.GetBatchedRecordsAffected(int.MinValue,
                                                       out recordsAffected, out error), "#1");
            Assert.AreEqual(1, recordsAffected, "#2");
            Assert.IsNull(error, "#3");
        }
Exemplo n.º 3
0
		public void GetBatchedRecordsAffected ()
		{
			MyAdapter da = new MyAdapter ();
			int recordsAffected = 0;
			Exception error = null;

			Assert.IsTrue (da. GetBatchedRecordsAffected (int.MinValue,
				out recordsAffected, out error), "#1");
			Assert.AreEqual (1, recordsAffected, "#2");
			Assert.IsNull (error, "#3");
		}
Exemplo n.º 4
0
        public void GetBatchedRecordsAffected()
        {
            MyAdapter da = new MyAdapter();
            int recordsAffected = 0;
            Exception error = null;

            Assert.True(da.GetBatchedRecordsAffected(int.MinValue, out recordsAffected, out error));
            Assert.Equal(1, recordsAffected);
            Assert.Null(error);
        }