using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CY.Infrastructure.Query
{
///
/// 查询参数
///
public class Criterion
{
private string _propertyName;
private object _value;
public Criterion(string propertyName, object value)
{
_propertyName = propertyName;
_value = value;
}
///
/// 参数
///
public string PropertyName
{
get { return "@"+_propertyName; }
}
///
/// 参数值
///
public object Value
{
get { return _value; }
}
}
}