-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello World Example #54
Comments
I'll come up with some hello world project. In the mean time could you elaborate what isn't clear in the docs so that it can be improved? |
So to use the provided functionality of your library I need that context I get from a EntityContextFactory.
I get compile errors (in german) saying something like EntityContextFactory doesn't contain a definition for "WithDotNetRDF" and the extension method in EntityContextFactoryExtensions has some invalid arguments. So I don't know if there is a problem with the library, some configuration errors or I got the docs wrong. Because of that I Hello-World-Example would be really nice ;) Plus, it would make it more clear what the matter of that mapping is. I didn't understand yet why I need that. Note: I never used Hibernate and I only need in-memory triple stores. |
I will try to create a sample today in the afternoon. The compile error could mean you don't have the dotNetRdf package. Have you installed About mappings, have you read this page in the docs? It should explain what they are for. You then need to let the context factory know where your mappings are, that's what the |
This should get you started: https://github.com/MakoLab/RomanticWeb.Sample It shows how to use a dotNetRDF triple store, does some LINQ and data manipulation before saving back to an output file. |
Thanks for the example. It really helped. And yes I got RomanticWeb.dotNetRDF from NuGet, which installs a version of dotNetRDF which is obviously incompatible with RomanticWeb.dotNetRDF. When I explicitly installed version 1.0.3 (like in the example) with |
Interesting. What exactly was the problem with the dotNetRDF and which version got installed by default? |
dotNetRDF Version 1.0.0.2473 gets installed. But I am not quite sure if it was my fault (because I forgot |
Is there a Hello World Example for trying out what you did? Somehow I have troubles putting everything together from the docs. Would be great to have a example file that works out of the box, that I can use after installing every required package.
The text was updated successfully, but these errors were encountered: