public override int ExecuteScript(DbConnection conn, RowAffer r, string sql, string delimiter) { MySqlScript script = new MySqlScript((MySqlConnection)conn, sql); if (!string.IsNullOrEmpty(delimiter)) { script.Delimiter = delimiter; } return(script.Execute()); }
public override int ExecuteScript(DbConnection conn, RowAffer r, string sql, string delimiter) { int result = 0; string[] array = sql.Split(';'); foreach (string s in array) { result += r(s); } return(result); }
public abstract int ExecuteScript(DbConnection connection, RowAffer r, string sql, string delimiter);