예제 #1
0
 /// <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);
 }
예제 #2
0
파일: Global.cs 프로젝트: qinzhixian/Part
 /// <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);
 }