using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CY.Infrastructure.Query
{
///
/// 查询条件实体
///
public class Query
{
private string _spname;
private IList _criteria;
public Query()
{
}
public Query(bool isInit):this()
{
_criteria = isInit ? new List() : _criteria;
}
public Query(string spname, IList criteria)
{
_spname = spname;
_criteria = criteria;
}
///
/// 存储过程名称
///
public string SPName
{
get
{
return _spname;
}
set
{
_spname = value;
}
}
///
/// 参数集合
///
public IList Criteria
{
get
{
return _criteria;
}
set
{
_criteria = value;
}
}
}
}