public MediaDS.TabLanguageDataTable getAllLanguages() { try { tabLanguageTableAdapter.FillAll(mediaDataSet.TabLanguage); return(mediaDataSet.TabLanguage); } catch (Exception e) { throw e; } }
/* Language */ /// <summary> /// Returns all registers from TabLanguage /// </summary> /// <returns>MasterDS.TabLanguageDataTable</returns> /// <exception cref="ex">Exception</exception> public MasterDS.TabLanguageDataTable GetAllLanguages() { try { _tabLanguageTableAdapter.FillAll(_masterDataSet.TabLanguage); return(_masterDataSet.TabLanguage); } catch (Exception ex) { //Error log simulate Console.WriteLine(ex.ToString()); Console.WriteLine(ex.GetBaseException().ToString()); throw; } }