From 2bd55b73331f19ef2dd2175e86a9c201f31fada3 Mon Sep 17 00:00:00 2001
From: 2881099 <2881099@qq.com>
Date: Wed, 27 Apr 2022 19:59:42 +0800
Subject: [PATCH] update
---
Parent-Child-Relationship-Query.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Parent-Child-Relationship-Query.md b/Parent-Child-Relationship-Query.md
index 47d8046..78445d8 100644
--- a/Parent-Child-Relationship-Query.md
+++ b/Parent-Child-Relationship-Query.md
@@ -37,7 +37,7 @@ fsql.Select().Where(a => a.Parent.Parent.Parent.Name == "中国").First();
Define the Childs attribute, in the expression (subquery):
```csharp
-fsql.Select().Where(a => a.Childs.AsSelect().Any(c => c.Name == "北京")).First();
+fsql.Select().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.