Esempio n. 1
0
        public void SetTable_RegisterTable()
        {
            var db = new EasyDb();

            db.SetTable <User>("users");
            db.SetTable <Role>("roles");

            Assert.IsTrue(db.IsTableRegistered <User>());
            Assert.IsTrue(db.IsTableRegistered <Role>());
        }