Class PropertyPredicate<T, T2>
两个属性比较的谓词类
Inherited Members
Namespace: DapperDal.Predicate
Assembly: DapperDal.dll
Syntax
public class PropertyPredicate<T, T2> : ComparePredicate, IPropertyPredicate, IComparePredicate, IBasePredicate, IPredicate where T : class where T2 : class
Type Parameters
Name | Description |
---|---|
T | |
T2 |
Properties
| Improve this Doc View SourcePropertyName2
第二个属性名
Declaration
public string PropertyName2 { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Implements
Methods
| Improve this Doc View SourceGetSql(ISqlGenerator, IDictionary<String, Object>)
返回根据参数使用SQL生成器生成的SQL语句
Declaration
public override string GetSql(ISqlGenerator sqlGenerator, IDictionary<string, object> parameters)
Parameters
Type | Name | Description |
---|---|---|
ISqlGenerator | sqlGenerator | SQL生成器 |
IDictionary<System.String, System.Object> | parameters | 参数 |
Returns
Type | Description |
---|---|
System.String | SQL语句 |