コード例 #1
0
        protected rt.core.model.core.Permission GetFirstPermission()
        {
            IList <rt.core.model.core.Permission> entityList = manager.GetAll(1);

            if (entityList.Count == 0)
            {
                Assert.Fail("All tables must have at least one row for unit tests to succeed.");
            }
            return(entityList[0]);
        }