只是一個快速的一個,我有得到使用)時間戳值(值集的節點,當我查詢使用獲取時間戳()值使用C#的客戶端
public List<Thing> ListThings()
{
return client.Cypher
.Match("(thing:Thing)")
.Return<Thing>("thing").Results.ToList();
}
我有一個節點類東西叫,看起來像這樣:
public class Thing{
public string name {get; set;}
public int id {get;set;}
public DateTimeOffset timestamp{get;set}
}
我們通過創建「東西」的時間提前:
Create(thing:Thing{id:6,name:'thing1', timestamp:timestamp()}) return thing
我得到當從我的腳本調用時,每個值都與時間戳背離,這有點煩人,有什麼想法?我在Neo4j瀏覽器中使用查詢獲取所有值,所以我想知道我是否真的做錯了什麼?
感謝