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

            TransactionTemplateTests.PerformOperations(mgr, dao);
        }
        public void CoordinatorDeclarativeWithAttributes()
        {
            ITestCoordinator coord = ctx["testCoordinator"] as ITestCoordinator;
            TestObjectDao    dao   = (TestObjectDao)ctx["testObjectDao"];

            TransactionTemplateTests.PerformOperations(coord, dao);
        }