diff --git a/Return-Data.md b/Return-Data.md index 8b11b76..c565071 100644 --- a/Return-Data.md +++ b/Return-Data.md @@ -181,7 +181,11 @@ For example: Suppose A, B, and C all have id. When the queried Dto structure is: `Dto {id, a1, a2, b1, b2 }`, `A.id` is mapped. You can also specify the `id = C.id` mapping. -> Reminder: You can directly map a navigation property in DTO +Dto query only maps default fields (common attributes). For mapping objects, please use: + +> Navigation object: ToList(a => new Dto { Catalog = a.Catalog }) + +> Multi table object: ToList((a, b) => new Dto { Catalog = b }) ## API