Show / Hide Table of Contents

Class BetweenPredicate<T>

表示属性在两者之间的谓词类

Inheritance
System.Object
BasePredicate
BetweenPredicate<T>
Inherited Members
BasePredicate.PropertyName
BasePredicate.GetColumnName(Type, ISqlGenerator, String)
Namespace: DapperDal.Predicate
Assembly: DapperDal.dll
Syntax
public class BetweenPredicate<T> : BasePredicate, IBasePredicate, IBetweenPredicate, IPredicate where T : class
Type Parameters
Name Description
T

Properties

| Improve this Doc View Source

Not

比较类型是否逻辑非

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

Value

起始值、结束值

Declaration
public BetweenValues Value { get; set; }
Property Value
Type Description
BetweenValues
Implements
IBetweenPredicate.Value

Methods

| Improve this Doc View Source

GetSql(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语句

Overrides
BasePredicate.GetSql(ISqlGenerator, IDictionary<String, Object>)
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