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