コード例 #1
0
        private object GetOrganizeList()
        {
            Sys_OrganizeBLL             organizeApp = new Sys_OrganizeBLL();
            var                         data        = organizeApp.GetList();
            Dictionary <string, object> dictionary  = new Dictionary <string, object>();

            foreach (Sys_Organize item in data)
            {
                var fieldItem = new
                {
                    encode   = item.F_EnCode,
                    fullname = item.F_FullName
                };
                dictionary.Add(item.F_Id, fieldItem);
            }
            return(dictionary);
        }