Beispiel #1
0
        /// <summary>
        /// 为某实体类构建一个条件查询面板视图
        /// </summary>
        /// <param name="entityViewInfo"></param>
        /// <returns></returns>
        public ConditionQueryLogicalView CreateConditionQueryView(WPFEntityViewMeta entityViewInfo)
        {
            var view = new ConditionQueryLogicalView(entityViewInfo);

            this.InitDetailView(view);

            view.AttachNewCriteria();

            this.OnViewCreated(view);

            return(view);
        }
Beispiel #2
0
        /// <summary>
        /// 为某实体类构建一个条件查询面板视图
        /// </summary>
        /// <param name="entityViewInfo"></param>
        /// <returns></returns>
        public ConditionQueryLogicalView CreateConditionQueryView(WPFEntityViewMeta entityViewInfo)
        {
            var view = new ConditionQueryLogicalView(entityViewInfo);

            this.InitDetailView(view);

            view.AttachNewCriteria();

            this.OnViewCreated(view);

            return view;
        }