Пример #1
0
        public async Task Select()
        {
            LCQuery <LCObject> query = new LCQuery <LCObject>("Account");

            query.Select("balance");
            List <LCObject> results = await query.Find();

            results.ForEach(item => {
                Assert.NotNull(item["balance"]);
                Assert.IsNull(item["user"]);
            });
        }
Пример #2
0
        public async Task Select()
        {
            LCQuery <LCObject> query = new LCQuery <LCObject>("Account");

            query.Select("balance");
            ReadOnlyCollection <LCObject> results = await query.Find();

            foreach (LCObject item in results)
            {
                Assert.NotNull(item["balance"]);
                Assert.IsNull(item["user"]);
            }
        }