示例#1
0
        public void AddGraphAsync()
        {
            var data = new TestData {
                Id = 2, Value = "This is collection 2 data"
            };

            _orchestrate.CreateCollection("GraphTestCollection2", "2", data);

            var result =
                _orchestrate.PutGraphAsync(CollectionName, "1", "toplevelgraph", "GraphTestCollection2", "2").Result;

            Assert.IsTrue(result.Value == null || result.Value.ToString() == string.Empty);
        }