【发布时间】:2014-04-17 11:42:02
【问题描述】:
我正在使用 c# 并使用 neo4jclient。 如果我将类对象传递给它,我知道 neo4jclient 可以创建一个节点(我已经尝试过了) 现在在我的课堂上我想添加一个字典属性,这不起作用。 我的代码:
GraphClient client = getConnection();
client.Cypher
.Merge("(user:User { uniqueIdInItsApp: {id} , appId: {appId} })")
.OnCreate()
.Set("user = {newUser}")
.WithParams(new
{
id = user.uniqueIdInItsApp,
appId = user.appId,
newUser = user
})
.ExecuteWithoutResults();
User 包含一个属性,该属性是 C# 中的 Dictionary。
执行密码时显示错误
MatchError: Map() (of class scala.collection.convert.Wrappers$JMapWrapper)
谁能帮帮我?
【问题讨论】:
标签: neo4j neo4jclient