添加搜索From To DateTime - AddIQueryItemSearchFromToDateTimeValue

2017-02-19 11:20:48  访问(1500) 赞(0) 踩(0)


        /// <summary>
        /// 添加搜索From To DateTime - AddIQueryItemSearchFromToDateTimeValue
        /// </summary>
        /// <param name="_info"></param>
        /// <param name="theFromValue"></param>
        /// <param name="theToValue"></param>
        public void AddIQueryItemSearchFromToDateTimeValue
            (
                EntityFieldInfo _info,
                DateTime theFromValue,
                DateTime theToValue
            )
        {

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



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


标签:添加搜索From To DateTime - AddIQueryItemSearchFromToDateTimeValue 

上一条:

下一条:


 

相关评论

评论加载中……
 

发表评论

类型:
内容:
  (Alt+Enter)