public virtual void Test() { IgnoreFieldsTypeHandlerTestCase.Item5 item = (IgnoreFieldsTypeHandlerTestCase.Item5 )((IgnoreFieldsTypeHandlerTestCase.Item5)RetrieveOnlyInstance(typeof(IgnoreFieldsTypeHandlerTestCase.Item5 ))); Assert.AreEqual(1, item.id1); Assert.AreEqual(0, item.id2); Assert.AreEqual(3, item.id3); Assert.AreEqual(0, item.id4); Assert.AreEqual(5, item.id5); }
/// <exception cref="System.Exception"></exception> protected override void Store() { IgnoreFieldsTypeHandlerTestCase.Item5 item = new IgnoreFieldsTypeHandlerTestCase.Item5 (); item.id1 = 1; item.id2 = 2; item.id3 = 3; item.id4 = 4; item.id5 = 5; Store(item); }