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