Exemple #1
0
 public UserProfile(string userName)
 {
     LastProductsViewed   = new LazyList <Product>();
     LastCategoriesViewed = new LazyList <Category>();
     Recommended          = new LazyList <Product>();
     AddressBook          = new LazyList <Address>();
     this.UserName        = userName;
 }
Exemple #2
0
 public Order(string orderNumber, string userName)
 {
     this.OrderNumber    = orderNumber;
     this.UserName       = userName;
     this.Status         = OrderStatus.NotCheckoutOut;
     this.Items          = new LazyList <OrderItem>();
     this.IncentivesUsed = new LazyList <IIncentive>();
     this.ID             = Guid.NewGuid();
     this.DiscountAmount = 0;
     this.DiscountReason = "--";
 }