protected override object DoGetTransaction()
 {
     IbatisTransactionObject obj = new IbatisTransactionObject();
     obj.savepointAllowed = base.NestedTransactionsAllowed;
     SqlMapperHolder sqlMapperHolder = (SqlMapperHolder)TransactionSynchronizationManager.GetResource(this.sqlMapper);
     obj.SetSqlMapHolder(sqlMapperHolder, false);
     return obj;
 }
        protected override object DoGetTransaction()
        {
            IbatisTransactionObject obj = new IbatisTransactionObject();

            obj.savepointAllowed = base.NestedTransactionsAllowed;
            SqlMapperHolder sqlMapperHolder = (SqlMapperHolder)TransactionSynchronizationManager.GetResource(this.sqlMapper);

            obj.SetSqlMapHolder(sqlMapperHolder, false);
            return(obj);
        }
        protected override bool IsExistingTransaction(object transaction)
        {
            IbatisTransactionObject obj = (IbatisTransactionObject)transaction;

            return((obj.sqlMapperHolder != null) && obj.sqlMapperHolder.TransactionActive);
        }