Exemplo n.º 1
0
 //更新
 public bool EditEntity(T efstudet)
 {
     CurrentDal.EditEntity(efstudet);
     return(CurrentDBSession.SaveChangs());
 }
Exemplo n.º 2
0
 //添加
 public T AddEntity(T efstudet)
 {
     CurrentDal.AddEntity(efstudet);
     CurrentDBSession.SaveChangs();
     return(efstudet);
 }
Exemplo n.º 3
0
 //删除
 public bool DeleteEntity(T efstudet)
 {
     CurrentDal.DeleteEntity(efstudet);
     return(CurrentDBSession.SaveChangs());
 }