Пример #1
0
        public static Int32 DeleteLanguage(Int32 languageId)
        {
            LanguageDSTableAdapter ta = new LanguageDSTableAdapter();

            return(ta.Delete(languageId));
        }
Пример #2
0
        public static Int32 UpdateLanguage(Int32 languageId, string languageName)
        {
            LanguageDSTableAdapter ta = new LanguageDSTableAdapter();

            return(ta.Update(languageId, languageName));
        }
Пример #3
0
        public static LanguageDS.LanguageDSDataTable SelectLanguage(Int32 languageId)
        {
            LanguageDSTableAdapter ta = new LanguageDSTableAdapter();

            return(ta.GetData(languageId));
        }
Пример #4
0
        public static Int32 InsertLanguage(string languageName)
        {
            LanguageDSTableAdapter ta = new LanguageDSTableAdapter();

            return(Convert.ToInt32(ta.InsertLanguage(languageName)));
        }
Пример #5
0
        public static LanguageDS.LanguageDSDataTable GetLanguageList(Int32 agentId)
        {
            LanguageDSTableAdapter ta = new LanguageDSTableAdapter();

            return(ta.GetLanguageList(agentId));
        }