예제 #1
0
        public async Task Unset()
        {
            LCObject hello = new LCObject("Hello");

            hello["content"] = "hello, world";
            await hello.Save();

            TestContext.WriteLine(hello["content"]);
            Assert.AreEqual(hello["content"], "hello, world");

            hello.Unset("content");
            await hello.Save();

            TestContext.WriteLine(hello["content"]);
            Assert.IsNull(hello["content"]);
        }