/// <summary> /// Add a command for execution. /// </summary> /// <param name="commandContext">Command to be executed.</param> public void AddCommand(IDbCommandContext commandContext) { ThrowIfDisposed(); if (commandContext != null) { _cmdList.Add(commandContext); } }
public long Execute(IDbCommandContext context) { return(context.Execute(sql, this.productReport)); }
public CommandInvoker(IDbCommandContext dbContext) { this.dbContext = dbContext; }