コード例 #1
0
        public void Read()
        {
            try
            {
                rt.core.model.core.Permission entityA = CreateNew();
                manager.Save(entityA);

                rt.core.model.core.Permission entityB = manager.GetById(entityA.Id);

                Assert.AreEqual(entityA, entityB);
            }
            catch (Exception ex)
            {
                Assert.Fail(ex.ToString());
            }
        }