主要更新了http相关的内容
This commit is contained in:
@@ -1,10 +1,4 @@
|
||||
using Neo4j.Driver;
|
||||
using NPOI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Ramitta
|
||||
{
|
||||
@@ -58,7 +52,8 @@ namespace Ramitta
|
||||
string nodeType2, Dictionary<string, string> nodeProperties2, // 使用字典替代单独的参数
|
||||
ArrowDirection arrow = ArrowDirection.Right,
|
||||
Dictionary<string, string> relationshipProperties = null // 可选字典参数
|
||||
){
|
||||
)
|
||||
{
|
||||
using (var session = _driver.AsyncSession())
|
||||
{
|
||||
// 构建查询的 MATCH 部分,动态地使用字典中的键值对来构造节点的属性
|
||||
@@ -97,7 +92,7 @@ namespace Ramitta
|
||||
// await neo4jService.GetRelatedNodesAsync("文件", properties);
|
||||
public async Task<List<Dictionary<string, string>>> GetRelatedNodesAsync(
|
||||
string nodeLabel,
|
||||
Dictionary<string, string>? nodeProperties=null)
|
||||
Dictionary<string, string>? nodeProperties = null)
|
||||
{
|
||||
string query;
|
||||
if (nodeProperties == null)
|
||||
|
||||
Reference in New Issue
Block a user