添加搜索From To Text - AddIQueryItemSearchFromToIntText

2017-02-19 11:19:51  访问(1954) 赞(0) 踩(0)


        /// <summary>
        /// 添加搜索From To Text - AddIQueryItemSearchFromToIntText
        /// </summary>
        /// <param name="_info"></param>
        /// <param name="theFromValue"></param>
        /// <param name="theToValue"></param>
        public void AddIQueryItemSearchFromToIntText
            (
                EntityFieldInfo _info,
                string theFromValue,
                string theToValue
            )
        {
            if (theFromValue != null && theFromValue.Length > 0)
            {

                m_ListIQueryItem.Add
                    (
                        new DataColumnQueryItem
                            (
                                _info,
                                SlowX.Core.Enums.SqlLink.EmSqlLink.GreaterEqual,
                                int.Parse(theFromValue)
                            )
                    );
            }

            if (theToValue != null && theToValue.Length > 0)
            {

                m_ListIQueryItem.Add
                    (
                        new DataColumnQueryItem
                            (
                                _info,
                                SlowX.Core.Enums.SqlLink.EmSqlLink.LessEqual,
                                int.Parse(theToValue)
                            )
                    );
            }
        }


标签:添加搜索From To Text - AddIQueryItemSearchFromToIntText 

上一条:

下一条:


 

相关评论

评论加载中……
 

发表评论

类型:
内容:
  (Alt+Enter)
 
  ┈全部┈  
 
(显示默认分类)