Closed RichardIrons-neo4j closed 2 months ago
Hello, where can I find docs about mapping? Thanks in advance!
@darcome Here is a link to the API documentation for mapping, which is correct and up to date. We do not have full documentation for the mapping functionality yet, however you can look through some of the pull requests which contain some information. Note that this documentation is now out of date in some regards.
First addition of mapping: https://github.com/neo4j/neo4j-dotnet-driver/pull/729
Addition of constructor mapping: https://github.com/neo4j/neo4j-dotnet-driver/pull/751
And then these changes made for 5.20 are that the mapping is now case sensitive in matching C# symbols to database fields and properties, and that mapping will fail if a property is not found in the record. I hope this information gets you started; feel free to start a discussion if you need help with it.
Thank you!
Move all the mapping classes out of the preview namespace and into
Neo4j.Driver.Mapping
.