diff --git a/表达式函数.md b/表达式函数.md index 4558c17..c88fc34 100644 --- a/表达式函数.md +++ b/表达式函数.md @@ -5,14 +5,14 @@ 示例 ```csharp -Expression> where = a => a.id == Guid.Empty; +Expression> where = null; where = where.And(b => b.num > 0); where = where.Or(b => b.num > 0); ``` 动态拼接``Or``,通过``Or``扩展方法动态拼接``Lambda``表达式 ```csharp -Expression> where = a => null; +Expression> where = null; if (xxx) { where = where.Or(b => b.num > 0);