Esempio n. 1
0
        public async Task FetchAll()
        {
            LCQuery <LCObject>     query = new LCQuery <LCObject>("Hello");
            IEnumerable <string>   ids   = (await query.Find()).Select(obj => obj.ObjectId);
            IEnumerable <LCObject> list  = ids.Select(id => LCObject.CreateWithoutData("Hello", id));
            await LCObject.FetchAll(list);

            Assert.Greater(list.Count(), 0);
            foreach (LCObject obj in list)
            {
                Assert.NotNull(obj.CreatedAt);
            }
        }