示例#1
0
        public void GetByRefAsync()
        {
            var list  = _orchestrate.List(CollectionName, 10, null, null);
            var match = list.Results.Single(x => x.Path.Key == "1");

            var result = _orchestrate.GetAsync(CollectionName, "1", match.Path.Ref).Result;

            Assert.IsTrue(result.Value != null);
        }
示例#2
0
        public void GetByKeyAsync()
        {
            var result = _orchestrate.GetAsync(CollectionName, "1").Result;

            Assert.IsTrue(result.Value != null);
        }