Home / Companies / Neo4j / Blog / Post Details
Content Deep Dive

Object Mapping in the Neo4j Driver forĀ .NET

Blog post from Neo4j

Post Details
Company
Date Published
Author
Richard Irons
Word Count
1,084
Company Posts That Month
12
Language
English
Hacker News Points
-
Post removed?
No
Summary

The Neo4j Driver for .NET has introduced a new feature that allows C# objects to be quickly constructed from query results with minimal boilerplate. This feature uses convention-based mapping, where property names are used to decide which data from the record to use, or custom configuration can be supplied to specify exactly how to map from a record to an object type. The default mapper can also give "hints" to expand the situations covered. Additionally, there are two ways to create custom mappings: by implementing the IRecordMapper interface for class-based mapping and by implementing the IMappingProvider interface for property-by-property configuration. The feature is still in preview and would appreciate feedback from real-world users.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.