/// <summary> /// Delete SubStock from database. /// </summary> /// <param name="data"></param> /// <returns></returns> public void Delete(SubStock data) { HibernateTemplate.Delete(data); }
/// <summary> /// Add SubStock to database. /// </summary> /// <param name="data"></param> /// <returns></returns> public SubStock Add(SubStock data) { HibernateTemplate.Save(data); return data; }
/// <summary> /// Update SubStock to database. /// </summary> /// <param name="data"></param> /// <returns></returns> public void Update(SubStock data) { HibernateTemplate.Update(data); }
public void Delete(SubStock data) { SubStockDAO.Delete(data); }
public SubStock Add(SubStock data) { SubStockDAO.Add(data); return data; }
public void Update(SubStock data) { SubStockDAO.Update(data); }