Comments (2)
Thanks for having a look at Blueprint41 and I’m sorry to hear your ran into trouble.
You should not have had an instance of Blueprint41.Neo4j.Persistence.Void.Neo4jTransaction.Run, this object exists mainly to be able to run "Model.Execute(false);" without being connected to a real database. You could use that “void connection” if you want to query the model to generate code from it or some documentation, but not to read from or write to the database.
I suspect you got a copy of the “void connection” because you are missing the setup of the neo4j driver and your database connection. Possibly it also could be you are not having this setup at the entry-point of your application before you execute the model.
Example driver and database connection setup code:
using Blueprint41.Core;
using neo4j = Blueprint41.Neo4j.Persistence.Driver.v4; // Driver.v5 will be coming soon
neo4j.Neo4jPersistenceProvider driver = new neo4j.Neo4jPersistenceProvider("bolt://localhost:7687", "[USERNAME_HERE]", "[PASSWORD_HERE]");
PersistenceProvider.CurrentPersistenceProvider = driver;
Hope this solves your problem, and we’ll have a look at the wiki to see if we can improve this topic.
from blueprint41.
Using the new driver instance I am able to get further, Reviewing the docs it looks like the version specific neo4j using statement and the creation of the PersistanceProvider need to be updated;
I'm having other issues but will make sure I'm correct to this point and open a new issue if I can't resolve. Thank you!
from blueprint41.
Related Issues (20)
- Custom Logging in v4 Neo4jPersistenceProvider not working HOT 1
- Neo4j V5 Update HOT 4
- Issue in running tt file from Visual Studio for Mac HOT 1
- Blueprint41 VSCode plugin
- Blueprint41 Memgraph support
- Enterprise Only features HOT 2
- Support for Node Key Constraint
- Implement MSBuild solution to generating Blueprint41 entity classes instead of via T4 templates HOT 1
- Review datastore backing types
- Optimize deletion of files in the new code generator
- Solution stopped compiling HOT 2
- A bunch'a questions HOT 5
- How to put unique constraints for multiple properties? HOT 1
- Is there any way to create unique constraint involving multiple properties? HOT 1
- Missing "Generate.tt" file HOT 2
- Memgraph Index on unique constraints
- Memgraph unique constraint not created
- Running with github action HOT 1
- Is Blueprint 41 Thread safe ready to be used for web api? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blueprint41.