添加数值Int搜索 - AddIQueryItemSearchIntStrText +

2017-02-19 11:00:15  访问(1924) 赞(0) 踩(0)



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

            int oValue = int.Parse(theValue);

            this.AddIQueryItemWithEntityFieldInfo
                (
                    _info,
                    oValue
                );
        }

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

            int oValue = int.Parse(theValue);

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


标签:添加数值Int搜索 - AddIQueryItemSearchIntStrText + 

上一条:

下一条:


 

相关评论

评论加载中……
 

发表评论

类型:
内容:
  (Alt+Enter)