/// <summary> /// 数据库更新操作 /// </summary> /// <param name="conn">数据库连接</param> /// <param name="sql">更新语句</param> /// <param name="parameters">参数列表化</param> /// <returns>-101为更新失败</returns> public int Update(string conn, string sql, params MySqlParameter[] parameters) { return(MySqlHelp.Update(conn, sql)); }