예제 #1
0
 public void Update(Product product)
 {
     CurrentSession.SaveOrUpdate(product);
 }
예제 #2
0
 public void Delete(Product product)
 {
     CurrentSession.Delete(product);
 }
예제 #3
0
 public int Save(Product product)
 {
     return (int) CurrentSession.Save(product);
 }