public void Delete(TEntity obj) { var s = NHibernateHelper.GetCurrentSession(); s.Delete(obj); }
public void SaveOrUpdate(TEntity obj) { var s = NHibernateHelper.GetCurrentSession(); s.SaveOrUpdate(obj); }
public void Delete(TEntity obj) { var s = NHibernateHelper.GetCurrentSession(); s.Delete(obj); }
public void SaveOrUpdate(TEntity obj) { var s = NHibernateHelper.GetCurrentSession(); s.SaveOrUpdate(obj); }