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