/// <summary> /// reStore: 根据表名(table), ID(id)删除数据 /// </summary> /// <param name="table">表名(table)</param> /// <param name="id">id值</param> /// <returns></returns> public string reStoreById(string table, int id) { return(execQuery(MySqlString.getRestoreStr(table, "id=" + id))); }
/// <summary> /// reStore: 根据表名(table), ID(id)删除数据 /// </summary> /// <param name="table">表名(table)</param> /// <param name="id">id值</param> /// <returns></returns> public string reStoreByIds(string table, string ids) { return(execQuery(MySqlString.getRestoreStr(table, "id in (" + ids + ")"))); }
/// <summary> /// reStore: 根据表名(table), 删除条件(whereCondition)删除数据 /// </summary> /// <param name="table">表名(table)</param> /// <param name="whereCondiction">删除条件(whereCondition)</param> /// <returns></returns> public string reStore(string table, string whereCondiction) { return(execQuery(MySqlString.getRestoreStr(table, whereCondiction))); }