예제 #1
0
 public Company SaveOrUpdate(Company company)
 {
     HibernateTemplate.SaveOrUpdate(company);
     return company;
 }
예제 #2
0
 public Company UpdateCompany(Company company)
 {
     return CompanyDao.SaveOrUpdate(company);
 }
예제 #3
0
 public void Delete(Company company)
 {
     HibernateTemplate.Delete(company);
 }
예제 #4
0
 public Company SaveCompany(Company company)
 {
     return CompanyDao.Save(company);
 }