public OrderItem CreateItem(Order order, Product product)
 {
     return new OrderItem
     {
         Order = order,
         Price = 1,
         Product = product,
         Quantity = 3,
         Store = "Internet"
     };
 }
 public Order CreateOrderForCustomer(Customer customer)
 {
     var order = new Order
     {
         Customer = customer,
         OrderDate = DateTime.Now.AddDays(-5),
         ShipDate = DateTime.Now.AddDays(5)
     };
     _generator.Container.Store(order);
     _generator.EntitiesPersisted.Add(order);
     return order;
 }
 public Order[] CreateOrdersForCustomers(params Customer[] customers)
 {
     var orders = new Order[customers.Length];
     for (var i = 0; i < customers.Length; i++)
         orders[i] = CreateOrderForCustomer(customers[i]);
     return orders;
 }