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); }
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"); }
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"); }
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); }