public MediaDAO()
 {
     mediaDataSet            = new MediaDS();
     tabMediaAdapter         = new TabMediaTableAdapter();
     viewMediaTableAdapter   = new ViewMediaTableAdapter();
     tabGenreTableAdapter    = new TabGenreTableAdapter();
     tabLanguageTableAdapter = new TabLanguageTableAdapter();
     tabDirectorTableAdapter = new TabDirectorTableAdapter();
 }
예제 #2
0
파일: MediaDAO.cs 프로젝트: Marcus-V/ES2021
 public MediaDAO()
 {
     mediaDataSet         = new MediaDS();
     viewMediaAdapter     = new ViewMediaTableAdapter();
     languageTableAdapter = new TabLanguageTableAdapter();
     genreTableAdapter    = new TabGenreTableAdapter();
     tabMediaTableAdapter = new TabMediaTableAdapter();
     borrowTableAdapter   = new TabBorrowTableAdapter();
     reservedTableAdapter = new TabReservedTableAdapter();
 }
예제 #3
0
 public MediaDAO()
 {
     viewMediaAdapter       = new ViewMediaTableAdapter();
     genreTableAdapter      = new TabGenreTableAdapter();
     tabMediaTableAdapter   = new TabMediaTableAdapter();
     languageTableAdapter   = new TabLanguageTableAdapter();
     directorTableAdapter   = new TabDirectorTableAdapter();
     tabReserveTableAdapter = new TabReservedTableAdapter();
     tabBorrowTableAdapter  = new TabBorrowTableAdapter();
 }
예제 #4
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();
 }
예제 #5
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();
        }
 public MediaDataAccess() // Creacting constructor
 {
     umd = new UserMediaData();
     viewMediaTableAdapter = new ViewMediaTableAdapter();
 }