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