protected override IDbTool CreateDbTool(IDbConnection dbConn) { var dbTool = new MySqlTool(dbConn); if (CommandTimeout.HasValue) { dbTool.CommandTimeout = CommandTimeout.Value; } return(dbTool); }
protected override IDbTool CreateDbTool(string connStr) { var dbTool = new MySqlTool(connStr); if (CommandTimeout.HasValue) { dbTool.CommandTimeout = CommandTimeout.Value; } return(dbTool); }