コード例 #1
0
        private static async Task VerifyRunsQuery(IAsyncSession session)
        {
            var record = await session.RunAndSingleAsync("RETURN 1 AS Number", null);

            record.Keys.Should().BeEquivalentTo("Number");
            record.Values.Should().BeEquivalentTo(new KeyValuePair <string, object>("Number", 1));
        }