public CommandExecutionOptions WithTenantContext(CommandTenantContextOverride tenantContextOverride)
 {
     return(new CommandExecutionOptions(AutoCommitUnitOfWork, tenantContextOverride));
 }
 public CommandExecutionOptions(bool?autoCommitUnitOfWork = null,
                                CommandTenantContextOverride tenantContext = null)
 {
     AutoCommitUnitOfWork = autoCommitUnitOfWork;
     TenantContext        = tenantContext;
 }