Ejemplo n.º 1
0
        static void CheckDataDriver(IDataDriver driver)
        {
            string id       = driver.Create(new { name = "Fabricio" });
            object original = driver.Read(id);

            bool wasUpdated = driver.Update(id, new { height = 10, width = 10 });

            object modified = driver.Read(id);

            bool wasDeleted = driver.Delete(id);
        }
Ejemplo n.º 2
0
        public void Create()
        {
            string id = driver.Create(MODEL);

            Assert.NotNull(id);
        }