Example #1
0
 public bool Delete(T_Code_WaterSystem p)
 {
     return(_repository.Delete(p));
 }
Example #2
0
 public bool Update(T_Code_WaterSystem p)
 {
     return(_repository.Update(p));
 }
Example #3
0
 /// <summary>
 /// 修改指定的字段
 /// </summary>
 /// <param name="entity"></param>
 /// <param name="fileds"></param>
 /// <returns></returns>
 public bool UpdateSubFields(T_Code_WaterSystem entity, List <string> fileds)
 {
     return(_repository.UpdateSubFields(entity, fileds));
 }
Example #4
0
 public bool Insert(T_Code_WaterSystem p)
 {
     return(_repository.Insert(p));
 }