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