update

2881099
2022-04-27 19:59:42 +08:00
parent 5b664ac5fc
commit 2bd55b7333

@@ -37,7 +37,7 @@ fsql.Select<Area>().Where(a => a.Parent.Parent.Parent.Name == "中国").First();
Define the Childs attribute, in the expression (subquery):
```csharp
fsql.Select<Area>().Where(a => a.Childs.AsSelect().Any(c => c.Name == "北京")).First();
fsql.Select<Area>().Where(a => a.Childs.Any(c => c.Name == "北京")).First();
```
To define the Childs property, you can also use [Cascade Saving](Cascade-Saving), [Greed Loading](Greed-Loading) and so on.