In查询 - AddIQueryItemSearchIn +
2017-02-19 11:03:08 访问(1645) 赞(0) 踩(0)
/// <summary>
/// In查询 - AddIQueryItemSearchIn +
/// </summary>
/// <param name="_info"></param>
/// <param name="theValue"></param>
public void AddIQueryItemSearchIn
(
EntityFieldInfo _info,
string theValue
)
{
if (theValue == null || theValue.Length == 0)
return;
m_ListIQueryItem.Add
(
new DataColumnQueryItem
(
_info,
SlowX.Core.Enums.SqlLink.EmSqlLink.In,
theValue
)
);
}
/// <summary>
/// In查询 - AddIQueryItemSearchIn +
/// </summary>
/// <param name="_info"></param>
/// <param name="theValue"></param>
/// <param name="isConvert"></param>
public void AddIQueryItemSearchIn
(
EntityFieldInfo _info,
string theValue,
bool isConvert
)
{
if (theValue == null || theValue.Length == 0)
return;
if (isConvert)
{
m_ListIQueryItem.Add
(
new DataColumnQueryItem
(
_info,
SlowX.Core.Enums.SqlLink.EmSqlLink.In,
theValue
)
);
}
else
{
m_ListIQueryItem.Add
(
new DataColumnQueryItem
(
_info,
SlowX.Core.Enums.SqlLink.EmSqlLink.NotIn,
theValue
)
);
}
}
标签:
In查询 - AddIQueryItemSearchIn + 


上一条:
下一条:
相关评论
发表评论