Exemple #1
0
 /// <summary>
 /// Delete Supplier from database.
 /// </summary>
 /// <param name="data"></param>
 /// <returns></returns>
 public void Delete(Supplier data)
 {
     HibernateTemplate.Delete(data);
 }
Exemple #2
0
 /// <summary>
 /// Add Supplier to database.
 /// </summary>
 /// <param name="data"></param>
 /// <returns></returns>
 public Supplier Add(Supplier data)
 {
     HibernateTemplate.Save(data);
     return data;
 }
Exemple #3
0
 /// <summary>
 /// Update Supplier to database.
 /// </summary>
 /// <param name="data"></param>
 /// <returns></returns>
 public void Update(Supplier data)
 {
     HibernateTemplate.Update(data);
 }
 public void Delete(Supplier data)
 {
     SupplierDAO.Delete(data);
 }
 public Supplier Add(Supplier data)
 {
     SupplierDAO.Add(data);
     return data;
 }
 public void Update(Supplier data)
 {
     SupplierDAO.Update(data);
 }