主要是为了构建通过命令行的通用化查询工具
LinqWhere
Type Parameters
| Name | Description |
|---|---|
T |
01 Syntax
Microsoft.VisualBasic.Data.Framework.IO.Linq.LinqWhere`1
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| Test | 1 | LINQ WHERE TEST(x) = TRUE |
| Compile | 1 | 编译LINQ数据库查询引擎之中的条件表达式 OR 运算的级别是最低的 a and b and c or (d and e and f or (g and h)) |
| __compile | 1 | 编译查询条件表达式 |
| __gt | 1 | a > b |
| __lt | 1 | a < b |
| __eq | 1 | a = b |
| __neq | 1 | a != b |
| __instr | 1 | InStr(a, b) > 0 |
| __regex | 1 | Regex.Match(a, b).Success |
| TryParse | 1 | column <opr> value |
| ToString | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| Tokens | 1 |
04 Fields
| Name | Overloads | Summary |
|---|---|---|
| _operations | 1 | 操作符代码 |
05 Members
Test(
`0)LINQ WHERE TEST(x) = TRUE
Parameters
| Name | Type | Description |
|---|---|---|
x | `0 | - |
Compile
编译LINQ数据库查询引擎之中的条件表达式 OR 运算的级别是最低的 a and b and c or (d and e and f or (g and h))
__compile(
List(Of ExprToken), Func(Of `0, Boolean))编译查询条件表达式
Parameters
| Name | Type | Description |
|---|---|---|
tokens | List(Of ExprToken) | - |
stack | Func(Of `0, Boolean) | - |
__gt(
Object, String, Type)a > b
__lt(
Object, String, Type)a < b
Parameters
| Name | Type | Description |
|---|---|---|
a | Object | - |
test | String | - |
type | Type | - |
__eq(
Object, String, Type)a = b
Parameters
| Name | Type | Description |
|---|---|---|
a | Object | - |
test | String | - |
type | Type | - |
__neq(
Object, String, Type)a != b
Parameters
| Name | Type | Description |
|---|---|---|
a | Object | - |
test | String | - |
type | Type | - |
__instr(
Object, String, Type)InStr(a, b) > 0
Parameters
| Name | Type | Description |
|---|---|---|
a | Object | - |
test | String | - |
type | Type | - |
__regex(
Object, String, Type)Regex.Match(a, b).Success
Parameters
| Name | Type | Description |
|---|---|---|
a | Object | - |
test | String | - |
type | Type | - |
TryParse(
String)column <opr> value
Parameters
| Name | Type | Description |
|---|---|---|
expr | String | - |
_operations
操作符代码
Tokens
ToString()