Exemplo n.º 1
0
        protected void InitData()
        {
            EntityList.Clear();

            dictTreeViewItem.Clear();

            QueryExpression qe = new QueryExpression();

            qe.QueryType = typeof(T_FB_SUBJECTTYPE).Name;
            orderEntityService.QueryFBEntities(qe);
            this.TreeView.Items.AddTempLoadingItem();
        }
Exemplo n.º 2
0
        protected void InitData()
        {
            isLoadTree = true;//赋值
            EntityList.Clear();

            dictTreeViewItem.Clear();

            QueryExpression qe = new QueryExpression();

            //qe.QueryType = typeof(T_FB_SUBJECTCOMPANY).Name;
            qe.QueryType = "T_FB_SUBJECTCOMPANYSET";
            //qe.VisitModuleCode = "T_FB_SUBJECTCOMPANYSET";

            orderEntityService.QueryFBEntities(qe);

            this.TreeView.Items.AddTempLoadingItem();
        }
Exemplo n.º 3
0
        protected void InitData()
        {
            try
            {
                isInit = false;
                this.ShowProcess();
                EntityList.Clear();

                dictTreeViewItem.Clear();

                QueryExpression qe = new QueryExpression();

                qe.QueryType = typeof(T_FB_SUBJECTDEPTMENT).Name;
                orderEntityService.QueryFBEntities(qe);

                this.TreeView.Items.AddTempLoadingItem();
            }
            catch
            {
                this.CloseProcess();
            }
        }