public void GetRowsForSingleRowShouldWork()
        {
            var t = new DataTable();

            var dataRow = t.NewRow();

            var e = new RowUpdatedEventArgs(null, null, StatementType.Select, null);

            e.AdapterInit(new [] { dataRow });

            var row = e.GetRows(0);

            Assert.AreEqual(dataRow, row);
        }
 public static DataRow  GetRows(this RowUpdatedEventArgs e, int row)
 {
     return(e.GetRows()[row]);
 }