public void TestDpDeleteSelf() { Split test = null; try { test = Split.NewObject(); test = test.Save(); test.Delete(); } catch { Assert.Inconclusive(); } test.Save(); Assert.AreEqual("SelfDeleted", ApplicationContext.GlobalContext["Split"]); }
public void TestDpDeleteSelf() { IDataPortal <Split> dataPortal = _testDIContext.CreateDataPortal <Split>(); Split test = null; try { test = Split.NewObject(dataPortal); test = test.Save(); test.Delete(); } catch { Assert.Inconclusive(); } test.Save(); Assert.AreEqual("SelfDeleted", TestResults.GetResult("Split")); }