public Order FindBy(string id)
        {
            Order order = CurrentSession.Get <Order>(id);

            if (order != null)
            {
                NHibernateUtil.Initialize(order.Fills);
            }
            return(order);
        }
 public void Delete(Order entity)
 {
     CurrentSession.Delete(entity);
 }
 public void AddUpdate(Order entity)
 {
     CurrentSession.SaveOrUpdate(entity);
 }