/// <summary>
        /// Execute a ADO.NET operation on a command object using a delegate callback.
        /// </summary>
        /// <remarks>This allows for implementing arbitrary data access operations
        /// on a single command within Spring's managed DB4o environment.</remarks>
        /// <param name="del">The delegate called with a command object.</param>
        /// <returns>A result object returned by the action or null</returns>
        public Object Execute(Db4oDelegate del)
        {
            logger.Debug("Execute delegate");
            IDb4oCallback execObject = new ExecuteDb4oCallbackUsingDelegate(del);

            return(Execute(execObject));
        }
 public ExecuteDb4oCallbackUsingDelegate(Db4oDelegate d)
 {
     del = d;
 }