Cvoya.Graph.Model.Neo4j
1.0.0-alpha.20250718.1
This is a prerelease version of Cvoya.Graph.Model.Neo4j.
dotnet add package Cvoya.Graph.Model.Neo4j --version 1.0.0-alpha.20250718.1
NuGet\Install-Package Cvoya.Graph.Model.Neo4j -Version 1.0.0-alpha.20250718.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Cvoya.Graph.Model.Neo4j" Version="1.0.0-alpha.20250718.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Cvoya.Graph.Model.Neo4j" Version="1.0.0-alpha.20250718.1" />
<PackageReference Include="Cvoya.Graph.Model.Neo4j" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Cvoya.Graph.Model.Neo4j --version 1.0.0-alpha.20250718.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Cvoya.Graph.Model.Neo4j, 1.0.0-alpha.20250718.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Cvoya.Graph.Model.Neo4j@1.0.0-alpha.20250718.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Cvoya.Graph.Model.Neo4j&version=1.0.0-alpha.20250718.1&prerelease
#tool nuget:?package=Cvoya.Graph.Model.Neo4j&version=1.0.0-alpha.20250718.1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Cvoya.Graph.Model.Neo4j
Neo4j provider for GraphModel - enables your applications to work with Neo4j graph databases using the GraphModel abstractions and LINQ-style querying.
🚀 Quick Start
dotnet add package Cvoya.Graph.Model.Neo4j
using Cvoya.Graph.Model.Neo4j;
// Configure connection
var graph = new Neo4jGraph(
connectionString: "neo4j+s://your-server:7687",
username: "neo4j",
password: "your-password"
);
// Use GraphModel APIs
var users = await graph.Nodes<User>()
.Where(u => u.IsActive)
.OrderBy(u => u.CreatedDate)
.ToListAsync();
📦 Core Features
- Full GraphModel compatibility - Works seamlessly with all GraphModel abstractions
- Cypher query generation - Automatic translation from LINQ to optimized Cypher
- Connection pooling - Built-in connection management and pooling
- Transaction support - Full ACID transactions with Neo4j
- Index management - Automatic index creation from entity attributes
- Complex type handling - Serialization of complex properties and collections
🏗️ Architecture
This provider implements:
IGraph
- Main graph operations against Neo4jIGraphQueryProvider
- LINQ-to-Cypher query translationIGraphTransaction
- Neo4j transaction wrapper- Connection management - Efficient Neo4j driver usage
🔧 Configuration
var graph = new Neo4jGraph(
connectionString: "neo4j+s://localhost:7687",
username: "neo4j",
password: "password"
);
📚 Documentation
For comprehensive documentation, examples, and best practices:
🔗 Related Packages
- Cvoya.Graph.Model.Neo4j - Neo4j database provider
- Cvoya.Graph.Model.Serialization - Object serialization framework
- Cvoya.Graph.Model.Serialization.CodeGen - Code generation for performant serialization/deserialization
- Cvoya.Graph.Model.Analyzers - Compile-time code analyzers
🤝 Contributing
Contributions are welcome! Please see our Contributing Guide.
📄 License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Need help? Check the troubleshooting guide or open an issue.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Cvoya.Graph.Model (>= 1.0.0-alpha.20250718.1)
- Cvoya.Graph.Model.Serialization (>= 1.0.0-alpha.20250718.1)
- Neo4j.Driver (>= 5.28.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.0-alpha.20250718.1 | 68 | 7/18/2025 |
1.0.0-alpha.20250718.0 | 70 | 7/18/2025 |
1.0.0-alpha.20250716.4 | 110 | 7/16/2025 |