public static string GetFunctionStructureName(string code, string usercode) { string text2; try { string text = ""; EntityData functionStructureByCode = SystemManageDAO.GetFunctionStructureByCode(code); if (functionStructureByCode.HasRecord()) { text = functionStructureByCode.GetString("FunctionStructureName"); } functionStructureByCode.Dispose(); text2 = text; } catch (Exception exception) { throw exception; } return(text2); }