Interface IPredicate
表示谓词的接口
Namespace: DapperDal.Predicate
Assembly: DapperDal.dll
Syntax
public interface IPredicate
Methods
| Improve this Doc View SourceGetSql(ISqlGenerator, IDictionary<String, Object>)
返回根据参数使用SQL生成器生成的SQL语句
Declaration
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语句 |