Show / Hide Table of Contents

Class PredicateExtensions

查询条件表达式转换扩展

Inheritance
System.Object
PredicateExtensions
Namespace: DapperDal.Expressions
Assembly: DapperDal.dll
Syntax
public static class PredicateExtensions : object

Methods

| Improve this Doc View Source

ToPredicateGroup<TEntity, TPrimaryKey>(Expression<Func<TEntity, Boolean>>)

查询条件表达式转换为谓词组的扩展方法

Declaration
public static IPredicate ToPredicateGroup<TEntity, TPrimaryKey>(this Expression<Func<TEntity, bool>> expression)where TEntity : class
Parameters
Type Name Description
Expression<Func<TEntity, System.Boolean>> expression

查询条件表达式

Returns
Type Description
IPredicate

查询条件谓词组

Type Parameters
Name Description
TEntity

实体类型

TPrimaryKey

实体主键类型

  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX