Exemplo n.º 1
0
        private List <Order> AddOrders(int count)
        {
            List <Order> orders = new List <Order>();

            for (int i = 0; i < count; i++)
            {
                Order order = CreateOrder();

                entities.AddToOrders(order);
                orders.Add(order);
            }

            return(orders);
        }