添加数值搜索 - AddIQueryItemSearchNumberStrText

2017-02-19 10:59:09  访问(1529) 赞(0) 踩(0)



        /// <summary>
        /// 添加数值搜索 - AddIQueryItemSearchNumberStrText
        /// </summary>
        /// <param name="_info"></param>
        /// <param name="theValue"></param>
        public void AddIQueryItemSearchNumberStrText
            (
                EntityFieldInfo _info,
                string theValue
            )
        {
            if (theValue == null || theValue.Length == 0)
                return;

            double oValue = double.Parse(theValue);

            this.AddIQueryItemWithEntityFieldInfo
                (
                    _info,
                    oValue
                );
        }


        /// <summary>
        /// 添加数值搜索 - AddIQueryItemSearchNumberStrText + 
        /// </summary>
        /// <param name="_info"></param>
        /// <param name="_emSqlLink"></param>
        /// <param name="theValue"></param>
        public void AddIQueryItemSearchNumberStrText
            (
                EntityFieldInfo _info,
                SlowX.Core.Enums.SqlLink.EmSqlLink _emSqlLink,
                string theValue
            )
        {
            if (theValue == null || theValue.Length == 0)
                return;

            double oValue = double.Parse(theValue);

            this.AddIQueryItemWithEntityFieldInfo
                (
                    _info,
                    _emSqlLink,
                    oValue
                );
        }


标签:添加数值搜索 - AddIQueryItemSearchNumberStrText 

上一条:

下一条:


 

相关评论

评论加载中……
 

发表评论

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