GraphBridge: New EF Core Provider for Neo4j
- Diese Diskussion teilen
- Link kopieren
- Auf X (Twitter) teilen
Zusammenfassung
The Neo4j community has introduced GraphBridge, an open-source Entity Framework Core provider designed for .NET developers. This tool enables seamless integration with Neo4j through LINQ, typed Fluent Cypher, and vector search capabilities. By providing three distinct layers of abstraction, it balances ease of use with database performance, while also offering new tooling to simplify GraphRAG development.
Hi ๐๐ป all!
I've just shared GraphBridge in the forum: an open-source Entity Framework Core provider for Neo4j, so .NET developers can use Neo4j through EF Core (LINQ to parameterized Cypher, typed Fluent Cypher, vector search).
Feedback is very welcome: https://community.neo4j.com/t/graphbridge-an-entity-framework-core-provider-for-neo4j-net-open-source/81494
It comes with tooling for Visual Studio Code & I am expanding it right now with some tooling for makign GraphRAG easier ๐ฅ
Wondering if you have any thoughts about this, since you're also building a client library. Any thoughts on where you draw the line to wrap Cypher in a typed layer?
any thoughts on this too, composition over inheritance so that you can mix views. how does graphbridge deal with that?
Hi and I love LINQ and if there was a nice way to put this in a fluent api, personally I'd go for it ๐
On what I have done, check here: https://github.com/joslat/GraphBridge.EFCore#three-ways-to-query as I allow several levels, so you can choose ๐
Where I have drawn the line so far: the typed layer owns what it can check, and translating everything isn't the goal. In GraphBridge, an EF Core provider for Neo4j, that means three layers:
1. LINQ and EF tracking for mapping, CRUD and queries that translate cleanly. EF is the single owner of entity state, and anything it can't translate faithfully throws instead of silently running on the client.
2. Fluent Cypher for graph-shaped work: paths, patterns, starting from a vector or full-text search. It stays typed against the EF model, and any shape it can't make safe is refused with a code.
3. Parameterized Cypher as the escape hatch, with identifiers only from validated metadata.
And directly responding to you: The line sits where a typed abstraction would start lying about what the database does.
Makes sense? what do you think? would you do it differently?
On composition over inheritance and multi-labels: that's the direction I went. An entity type can carry several labels. They're written on create and upsert and required by every match, so a type works like a view defined by a label set. The same applies to relationships: several entity types can share one relationship type and are told apart by their endpoint types.
Thoughts? ๐

- what is this thing? it was trying to publish my post into a website-portal...?? is this something you have set up officially? or is a kind of hijack of this platform from a user?
CommunityOne is my community partner who partner close with on our Discord Server. The portal allows for your post to be indexed for a larger audience.
lol, it scared me ๐ ๐ฃ - how can I approve it then? ๐คช
?
I checked our records, and it looks like you opted out. We don't currently have a way for you to opt back in because we assumed that if someone opted out, they wanted it to be permanent.
If you'd like to opt back in, I can change that manually on my side. Just need you to confirm if you give us permission to publish your chat messages.
By the way, Discord recently announced that it will start indexing messages from public community servers, including Neo4j. Just a heads-up that messages posted after late November will likely be published online by default. I believe Discord also has a setting that lets you opt out.
this is honestly a much clearer breakdown than most ORM, i am familar very django and i have a lot of problems with django's "throw instea of silently running on the client" approach, the query can run forever with no obvious reasons,
i feel you are closest to this problem with Drivine, would you draw the line in the similar place
I'd like to opt in if you don't mind... thanks a ton! I give permission to publish my chat messages ๐
done! your chat message iis now being published
how was ur thanksgiving