Feedback for the object mapping feature in the .NET driver #776
Replies: 1 comment 5 replies
-
This is such a great feature! I was wondering if/how mapping relationships to C# objects was intended with this functionality. Object mapping has been working perfectly for nodes! Creating an object class for the relationship with the attributes is easy enough. What I don't find straight forward is determining the start and end nodes as (which are also mapped objects) of the relationship in C#. My thought was to create start and end nodes as fields. For example,
Happy to learn if there's a better way of determining start/end nodes of the relationship in C# than what I've tried. |
Beta Was this translation helpful? Give feedback.
-
Object mapping has been added the the .NET driver as a preview feature by way of these two PRs:
Initial PR to add object mapping
Second PR to add constructor mapping
If you're a .NET developer, it would be really helpful if you could give this feature a try, and let us know your thoughts - whether you found a bug, have an idea for a feature that should be added, or anything else you'd like to share, please do so here. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions