//修改 public bool Edit(T u) { curDal.Edit(u); return(dbSession.SaveChanges() > 0); }
public void Edit(TEntity model, string[] propertyNames) { basedal.Edit(model, propertyNames); }
/// <summary> /// 按需编辑,程序员指定需要更新的字段 /// </summary> public virtual void Edit(T model, string[] propertys) { basedal.Edit(model, propertys); }