mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-05 07:50:52 +08:00
Updated 表达式函数 (markdown)
2
表达式函数.md
2
表达式函数.md
@@ -12,7 +12,7 @@ where = where.Or(b => b.num > 0);
|
||||
|
||||
动态拼接``Or``,通过``Or``扩展方法动态拼接``Lambda``表达式
|
||||
```csharp
|
||||
Expression<Func<T, bool>> where = null;
|
||||
Expression<Func<T, bool>> where = null;
|
||||
if (xxx)
|
||||
{
|
||||
where = where.Or(b => b.num > 0);
|
||||
|
||||
Reference in New Issue
Block a user