Exemple #1
0
 public DataTable GetArea()
 {
     using (PersistentManager pm = new PersistentManager())
     {
         AreaDao areaDao = new AreaDao();
         return areaDao.Find();
     }
 }
Exemple #2
0
 public void SaveArea(DataRow row)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         AreaDao areaDao = new AreaDao();
         areaDao.Update(row);
     }
 }
Exemple #3
0
 public void AddArea(DataRow row)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         AreaDao areaDao = new AreaDao();
         areaDao.Insert(row);
     }
 }