Show / Hide Table of Contents

Class Predicate​Group

谓词组类

Inheritance
System.​Object
Predicate​Group
Namespace: Dapper​Dal.​Predicate
Assembly: DapperDal.dll
Syntax
public class PredicateGroup : object, IPredicateGroup, IPredicate

Properties

| Improve this Doc View Source

Operator

谓词之间组合的操作类型

Declaration
public GroupOperator Operator { get; set; }
Property Value
Type Description
Group​Operator
Implements
IPredicate​Group.​Operator
| Improve this Doc View Source

Predicates

谓词组

Declaration
public IList<IPredicate> Predicates { get; set; }
Property Value
Type Description
IList<IPredicate>
Implements
IPredicate​Group.​Predicates

Methods

| Improve this Doc View Source

GetSql(ISqlGenerator, IDictionary<String, Object>)

返回根据参数使用SQL生成器生成的SQL语句

Declaration
public string GetSql(ISqlGenerator sqlGenerator, IDictionary<string, object> parameters)
Parameters
Type Name Description
ISql​Generator sqlGenerator

SQL生成器

IDictionary<System.​String, System.​Object> parameters

参数

Returns
Type Description
System.​String

SQL语句

Implements
IPredicate.​Get​Sql(ISql​Generator, IDictionary<String, Object>)

Extension Methods

Sorting​Extensions.​To​Sortable(Object)
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • Operator
    • Predicates
  • Methods
    • GetSql(ISqlGenerator, IDictionary<String, Object>)
  • Extension Methods
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX