Пример #1
0
 /// <summary>
 /// Set up the dataclasses to be containd.
 /// </summary>
 /// <param name="products">A array of the Products</param>
 /// <param name="categories">A array of the Categories</param>
 /// <param name="orders">A array of the Orders</param>
 /// <param name="ordersDetails">A array of the OrdersDetails</param>
 public Respiratory(Product[] products, Category[] categories, Order[] orders, OrderDetails[] ordersDetails)
 {
     this.products = products.ToList();
     this.categories = categories.ToList();
     this.orders = orders.ToList();
     this.ordersDetails = ordersDetails.ToList();
 }