Пример #1
0
        public static string GetSystemGroupCodeByGroupName(string GroupName, string ClassCode)
        {
            string text2;

            try
            {
                string     text = "";
                EntityData systemGroupByGroupName = SystemManageDAO.GetSystemGroupByGroupName(GroupName, ClassCode);
                if (systemGroupByGroupName.HasRecord())
                {
                    text = systemGroupByGroupName.GetString("GroupCode");
                }
                systemGroupByGroupName.Dispose();
                text2 = text;
            }
            catch (Exception exception)
            {
                throw exception;
            }
            return(text2);
        }