Show / Hide Table of Contents

Class ExistsPredicate<TSub>

是否存在的谓词类

Inheritance
System.Object
ExistsPredicate<TSub>
Namespace: DapperDal.Predicate
Assembly: DapperDal.dll
Syntax
public class ExistsPredicate<TSub> : object, IExistsPredicate, IPredicate where TSub : class
Type Parameters
Name Description
TSub

Properties

| Improve this Doc View Source

Not

比较类型是否逻辑非

Declaration
public bool Not { get; set; }
Property Value
Type Description
System.Boolean
Implements
IExistsPredicate.Not
| Improve this Doc View Source

Predicate

子谓词

Declaration
public IPredicate Predicate { get; set; }
Property Value
Type Description
IPredicate
Implements
IExistsPredicate.Predicate

Methods

| Improve this Doc View Source

GetClassMapper(Type, IDalConfiguration)

获取实体类型的映射器

Declaration
protected virtual IClassMapper GetClassMapper(Type type, IDalConfiguration configuration)
Parameters
Type Name Description
Type type

实体类型

IDalConfiguration configuration

数据访问配置

Returns
Type Description
IClassMapper

实体类型的映射器

| 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
ISqlGenerator sqlGenerator

SQL生成器

IDictionary<System.String, System.Object> parameters

参数

Returns
Type Description
System.String

SQL语句

Implements
IPredicate.GetSql(ISqlGenerator, IDictionary<String, Object>)

Extension Methods

SortingExtensions.ToSortable(Object)
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX