Ejemplo n.º 1
0
 /// <summary>
 /// Class Constructor
 /// </summary>
 public MasterDAO()
 {
     _masterDataSet           = new MasterDS();
     _tabAuthorTableAdapter   = new TabAuthorTableAdapter();
     _tabCategoryTableAdapter = new TabCategoryTableAdapter();
     _tabLanguageTableAdapter = new TabLanguageTableAdapter();
 }
Ejemplo n.º 2
0
 public BookDAO()
 {
     _bookDataSet                   = new DataSet1();
     _viewBookTableAdapter          = new ViewBookTableAdapter();
     _tabAuthorTableAdaptater       = new TabAuthorTableAdapter();
     _tabCategoryTableAdaptater     = new TabCategoryTableAdapter();
     _viewBookAvailableTableAdapter = new ViewBookAvailableTableAdapter();
     _viewBookBorrowedTableAdapter  = new ViewBookBorrowedTableAdapter();
     _tabLanguageTableAdapter       = new TabLanguageTableAdapter();
     _tabBorrowTableAdapter         = new TabBorrowTableAdapter();
     _tabBookTableAdapter           = new TabBookTableAdapter();
     _tabReservedTableAdapter       = new TabReservedTableAdapter();
 }