public void Row()
{
DataTable dt = new DataTable();
DataRow rowA = dt.NewRow();
DataRow rowB = dt.NewRow();
DBConcurrencyException dbce = new DBConcurrencyException();
dbce.Row = rowA;
Assert.Same(rowA, dbce.Row);
Assert.Equal(1, dbce.RowCount);
dbce.Row = rowB;
Assert.Same(rowB, dbce.Row);
Assert.Equal(1, dbce.RowCount);
dbce.Row = null;
Assert.Null(dbce.Row);
Assert.Equal(1, dbce.RowCount);
}
}