Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
06-13-2022 01:46 AM - last edited on 06-15-2022 06:58 AM by gerrit_meier
Hi,
I'm not an expert and been trying lately to modify the .net helloword example query to this:
public void PrintGreeting(string message)
{
using (var session = _driver.Session())
{
var greeting = session.WriteTransaction(tx =>
{
var result = tx.Run("db.schema.nodeTypeProperties",
new { message });
return result;
});
Console.WriteLine(greeting);
}
}
But the returned result is "Neo4j.Driver.Internal.InternalResult" which obviously isnt what I want. What do i do?
06-17-2022 10:27 AM - edited 06-17-2022 10:27 AM
Probably best to take the graphacademy course on .Net when it comes out in a few weeks.
https://graphacademy.neo4j.com/categories/dotnet/
Otherwise did you check the .Net docs and API docs?
https://neo4j.com/docs/dotnet-manual/current/
https://neo4j.com/docs/api/dotnet-driver/current/html/f7d9eea1-5357-f1de-8a54-336a77141b6d.htm
here is also a small example project that demonstrates usage:
All the sessions of the conference are now available online