コード例 #1
0
        public void DeclarativeWithAttributes()
        {
            ITestObjectManager mgr = ctx["testObjectManager"] as ITestObjectManager;
            TestObjectDao      dao = (TestObjectDao)ctx["testObjectDao"];

            TransactionTemplateTests.PerformOperations(mgr, dao);
        }
コード例 #2
0
        public void CoordinatorDeclarativeWithAttributes()
        {
            ITestCoordinator coord = ctx["testCoordinator"] as ITestCoordinator;
            TestObjectDao    dao   = (TestObjectDao)ctx["testObjectDao"];

            TransactionTemplateTests.PerformOperations(coord, dao);
        }