/// <summary> /// Returns all registers from Book view. /// </summary> /// <returns>BookDS.ViewBookDataTable</returns> /// <exception cref="ex">Exception</exception> public BookDS.ViewBookDataTable GetAllBooksView() { try { _viewBookTableAdapter.FillAllBooks(_bookDataSet.ViewBook); return(_bookDataSet.ViewBook); } catch (Exception ex) { //Error log simulate Console.WriteLine(ex.ToString()); Console.WriteLine(ex.GetBaseException().ToString()); throw; } }
public BookDS.ViewBookDataTable GetAllBooksView() { _viewBookTableAdapter.FillAllBooks(_bookDataSet.ViewBook); return(_bookDataSet.ViewBook); }