mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-03-04 21:20:57 +08:00
Updated 表达式函数 (markdown)
2
表达式函数.md
2
表达式函数.md
@@ -10,7 +10,7 @@ where = where.And(b => b.num > 0);
|
||||
where = where.Or(b => b.num > 0);
|
||||
```
|
||||
|
||||
动态拼``Or``.先构建一个``false``条件 然后通过``Or``扩展方法动态拼接``Lambda``表达式
|
||||
动态拼接``Or``,先构建一个``false``条件,然后通过``Or``扩展方法动态拼接``Lambda``表达式
|
||||
```csharp
|
||||
Expression<Func<T, bool>> where = a => false;
|
||||
if (xxx)
|
||||
|
||||
Reference in New Issue
Block a user