예제 #1
0
        public Order IncludeLines(CookieContext cookieContext)
        {
            OrderLines = cookieContext
                         .OrderLines
                         .Where(ol => ol.OrderId == Id)
                         .Select(ol => ol.IncludCookie(cookieContext, this))
                         .ToList();

            return(this);
        }
예제 #2
0
 public OrderLine IncludCookie(CookieContext cookieContext, Order order)
 {
     Order = order;
     return(IncludCookie(cookieContext));
 }
예제 #3
0
 public OrderLine IncludCookie(CookieContext cookieContext)
 {
     Cookie = cookieContext.Cookies.Find(CookieId);
     return(this);
 }