/// <summary> /// 修改数据 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="oldEntity"></param> /// <param name="newEntity"></param> public static void Update <T>(Func <T, bool> where, T newEntity) { Static.Update(where, newEntity); }
/// <summary> /// 更新数据 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="where"></param> /// <param name="entity"></param> public void Update <T>(Func <T, bool> where, T entity) { Static.Update(where, entity); }