添加对关键字的查询语句 - AddIQueryItemWithPrimaryKey

2017-02-19 10:45:10  访问(1489) 赞(0) 踩(0)


        /// <summary>
        /// 添加对关键字的查询语句 - AddIQueryItemWithPrimaryKey +
        /// </summary>
        /// <param name="_theValue"></param>
        public void AddIQueryItemWithPrimaryKey
            (
                object _theValue
            )
        {
            m_ListIQueryItem.Add
                (
                    new DataColumnQueryItem
                        (
                        GetIDEntityFieldInfo(),
                        _theValue
                        )
                );
        }

        /// <summary>
        /// 添加对关键字的查询语句 - AddIQueryItemWithPrimaryKey +
        /// </summary>
        /// <param name="_emSqlLink"></param>
        /// <param name="_theValue"></param>
        public void AddIQueryItemWithPrimaryKey
            (
                SlowX.Core.Enums.SqlLink.EmSqlLink _emSqlLink,
                object _theValue
            )
        {
            m_ListIQueryItem.Add
                (
                    new DataColumnQueryItem
                        (
                        GetIDEntityFieldInfo(),
                        _emSqlLink,
                        _theValue
                        )
                );
        }

        /// <summary>
        /// 添加对关键字的查询语句 - AddIQueryItemWithPrimaryKey +
        /// </summary>
        /// <param name="_emSqlConditionLink"></param>
        /// <param name="_theValue"></param>
        public void AddIQueryItemWithPrimaryKey
            (
                SlowX.Core.Enums.SqlConditionLink.EmSqlConditionLink _emSqlConditionLink,
                object _theValue
            )
        {
            m_ListIQueryItem.Add
                (
                    new DataColumnQueryItem
                        (
                            _emSqlConditionLink,
                            GetIDEntityFieldInfo(),
                            Enums.SqlLink.EmSqlLink.Equal,
                            _theValue
                        )
                );
        }

        /// <summary>
        /// 添加对关键字的查询语句 - AddIQueryItemWithPrimaryKey +
        /// </summary>
        /// <param name="_emSqlConditionLink"></param>
        /// <param name="_emSqlLink"></param>
        /// <param name="_theValue"></param>
        public void AddIQueryItemWithPrimaryKey
            (
                SlowX.Core.Enums.SqlConditionLink.EmSqlConditionLink _emSqlConditionLink,
                SlowX.Core.Enums.SqlLink.EmSqlLink _emSqlLink,
                object _theValue
            )
        {
            m_ListIQueryItem.Add
               (
                   new DataColumnQueryItem
                       (
                           _emSqlConditionLink,
                           GetIDEntityFieldInfo(),
                           _emSqlLink,
                           _theValue
                       )
               );
        }


标签:添加对关键字的查询语句 - AddIQueryItemWithPrimaryKey 

上一条:

下一条:


 

相关评论

评论加载中……
 

发表评论

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