public override object ExecuteScalar(IDbConnection connection, string cmdText, IList <IDbDataParameter> parameter) { return(DbMySqlHelper.ExecuteScalar((MySqlConnection)connection, CommandType.Text, cmdText, parameter == null ? null : parameter.Cast <MySqlParameter>().ToArray())); }