添加搜索From To Text - AddIQueryItemSearchFromToLongText
2017-02-19 11:20:09 访问(1712) 赞(0) 踩(0)
/// <summary>
/// 添加搜索From To Text - AddIQueryItemSearchFromToLongText
/// </summary>
/// <param name="_info"></param>
/// <param name="theFromValue"></param>
/// <param name="theToValue"></param>
public void AddIQueryItemSearchFromToLongText
(
EntityFieldInfo _info,
string theFromValue,
string theToValue
)
{
if (theFromValue != null && theFromValue.Length > 0)
{
m_ListIQueryItem.Add
(
new DataColumnQueryItem
(
_info,
SlowX.Core.Enums.SqlLink.EmSqlLink.GreaterEqual,
long.Parse(theFromValue)
)
);
}
if (theToValue != null && theToValue.Length > 0)
{
m_ListIQueryItem.Add
(
new DataColumnQueryItem
(
_info,
SlowX.Core.Enums.SqlLink.EmSqlLink.LessEqual,
long.Parse(theToValue)
)
);
}
}
标签:
添加搜索From To Text - AddIQueryItemSearchFromToLongText 


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