You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: OnTopic/Mapping/README.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,10 +103,8 @@ To support the mapping, a variety of `Attribute` classes are provided for decora
103
103
-**`[Relationship(key, type)]`**: For a collection, optionally specifies the name of the key to look for, instead of the property name, and the relationship type, in case the key name is ambiguous.
104
104
-**`[Follow(relationships)]`**: Instructs the code to populate the specified relationships on any view models within a collection.
105
105
-**`[Flatten]`**: Includes all descendants for every item in the collection. If the collection enforces uniqueness, duplicates will be removed.
106
-
107
-
### `ReverseTopicMappingService`
108
-
-**`[DisableMapping]`**: Prevents the `ReverseTopicMappingService` from attempting to map the property back to the target `Topic`.
109
-
-**`[MapToParent]`**: Allows the `ReverseTopicMappingService` to map a complex property type back to a `Topic`.
106
+
-**`[MapToParent]`**: Allows the attributes of a topic to be applied to a child complex object, optionally including a prefix.
107
+
-**`[DisableMapping]`**: Prevents the mapping service from attempting to map the property to an attribute.
110
108
111
109
### Example
112
110
The following is an example of a data transfer object that implements the above attributes:
0 commit comments