Replies: 1 comment
-
I found this. #813 Can anyone think of a way to reuse mappings like this without having multiple map files? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a reason this needs to exist?
Given class structure:
The preferred way to map a reference is:
The old way that I'd like to remove requires a
ClassMap
for each level of the tree.The preferred way just sets up the old way automatically for you.
Removing the
ClassMap.References
will still allow someone to manually add reference maps throughClassMap.ReferenceMaps.Add
if you need to set it up that way.Is there any reason why someone would need this still?
Beta Was this translation helpful? Give feedback.
All reactions