You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Piotr Mikstacki edited this page Feb 5, 2023
·
1 revision
To create a relation we need to query both nodes that we want to connect. We can use the
Connection.CreateRelation("Likes",
sn =>Connection.Nodes().Properties("Name".Value("Steve")).Labels("Person").FirstOrDefault(),tn =>Connection.Nodes().Properties("Name".Value("Alice")).Labels("Person").FirstOrDefault(),properties,labels);