public MediaDAO()
 {
     mediaDataSet            = new MediaDS();
     tabMediaAdapter         = new TabMediaTableAdapter();
     viewMediaTableAdapter   = new ViewMediaTableAdapter();
     tabGenreTableAdapter    = new TabGenreTableAdapter();
     tabLanguageTableAdapter = new TabLanguageTableAdapter();
     tabDirectorTableAdapter = new TabDirectorTableAdapter();
 }
Example #2
0
 public MediaDAO()
 {
     mediaDataSet         = new MediaDS();
     viewMediaAdapter     = new ViewMediaTableAdapter();
     languageTableAdapter = new TabLanguageTableAdapter();
     genreTableAdapter    = new TabGenreTableAdapter();
     tabMediaTableAdapter = new TabMediaTableAdapter();
     borrowTableAdapter   = new TabBorrowTableAdapter();
     reservedTableAdapter = new TabReservedTableAdapter();
 }
Example #3
0
 public MediaDAO()
 {
     mediaDataSet          = new MediaDS();
     viewMediaTableAdapter = new ViewMediaTableAdapter();
     languageTableAdapter  = new TabLanguageTableAdapter();
     genreTableAdapter     = new TabGenreTableAdapter();
     directorTableAdapter  = new TabDirectorTableAdapter();
     MediaTableAdapter     = new TabMediaTableAdapter();
     reserveTableAdapter   = new TabReservedTableAdapter();
     borrowTableAdapter    = new TabBorrowTableAdapter();
     returnTableAdapter    = new TabReturnTableAdapter();
 }
Example #4
0
        //if we need TabMediaTableAdapter, we'll add it later :/

        public MediaDAO()
        {
            mediaDataSet              = new MediaDS();
            viewMediaAdapter          = new ViewMediaTableAdapter();
            languageTableAdapter      = new TabLanguageTableAdapter();
            genreTableAdapter         = new TabGenreTableAdapter();
            mediaTableAdapter         = new TabMediaTableAdapter();
            directorTableAdapter      = new TabDirectorTableAdapter();
            reservedTableAdapter      = new TabReservedTableAdapter();
            borrowTableAdapter        = new TabBorrowTableAdapter();
            viewMediaAvailavleAdapter = new ViewMediaAvailableTableAdapter();
            viewMediaBorrwedAdapter   = new ViewMediaBorrowedTableAdapter();
        }