CompareSymbol 类
比较逻辑运算符
public sealed class CompareSymbol : ISqlEntity
- 继承
-
CompareSymbol
- 实现
- 继承成员
示例
var compares = ['=','>'];
属性
Between
在...之间
public static CompareSymbol Between { get; }
属性值
Equal
相等
public static CompareSymbol Equal { get; }
属性值
Exists
EXISTS
public static CompareSymbol Exists { get; }
属性值
Greater
小于等于
public static CompareSymbol Greater { get; }
属性值
GreaterEqual
大于等于
public static CompareSymbol GreaterEqual { get; }
属性值
In
包含
public static CompareSymbol In { get; }
属性值
IsNull
IS NULL
public static CompareSymbol IsNull { get; }
属性值
Less
大于等于
public static CompareSymbol Less { get; }
属性值
LessEqual
小于等于
public static CompareSymbol LessEqual { get; }
属性值
Like
匹配
public static CompareSymbol Like { get; }
属性值
Manager
操作符管理
public static CompareManager Manager { get; }
属性值
NotBetween
不在...之间
public static CompareSymbol NotBetween { get; }
属性值
NotEqual
不等
public static CompareSymbol NotEqual { get; }
属性值
NotExists
NOT EXISTS
public static CompareSymbol NotExists { get; }
属性值
NotIn
不包含
public static CompareSymbol NotIn { get; }
属性值
NotLike
不匹配
public static CompareSymbol NotLike { get; }
属性值
NotNull
IS NOT NULL
public static CompareSymbol NotNull { get; }
属性值
Operation
操作符
public string Operation { get; }
属性值
方法
Get(string)
获取操作符
public static CompareSymbol Get(string operation)
参数
operation
string
返回
Not()
否定运算
public CompareSymbol Not()
返回
Reverse()
前后交换运算
public CompareSymbol Reverse()
返回
Write(ISqlEngine, StringBuilder)
拼写sql
public void Write(ISqlEngine engine, StringBuilder sql)
参数
engine
ISqlEnginesql
StringBuilder