Exemplo n.º 1
0
        public async Task RelateObject()
        {
            LCUser user = await LCUser.LoginByMobilePhoneNumber("15101006007", "112358");

            LCObject account = new LCObject("Account");

            account["user"] = user;
            await account.Save();

            Assert.AreEqual(user.ObjectId, "5e0d5c667d5774006a5c1177");
        }