/// <summary>Orders.</summary>
        /// <param name="orderId">     Identifier for the order.</param>
        /// <param name="customerId">  Identifier for the customer.</param>
        /// <param name="employeeId">  Identifier for the employee.</param>
        /// <param name="orderDate">   The order date.</param>
        /// <param name="requiredDate">The required date.</param>
        /// <param name="shippedDate"> The shipped date.</param>
        /// <param name="shipVia">     The ship via.</param>
        /// <param name="freight">     The freight.</param>
        /// <param name="shipName">    Name of the ship.</param>
        /// <param name="address">     The address.</param>
        /// <param name="city">        The city.</param>
        /// <param name="region">      The region.</param>
        /// <param name="postalCode">  The postal code.</param>
        /// <param name="country">     The country.</param>
        /// <returns>An Order.</returns>
		public static Order Order(int orderId, string customerId, int employeeId, DateTime? orderDate, DateTime? requiredDate, DateTime? shippedDate, int shipVia, decimal freight, string shipName, string address, string city, string region, string postalCode, string country)
		{
			Order order = new Order();
			order.Id = orderId;
			order.CustomerId = customerId;
			order.EmployeeId = employeeId;
			order.OrderDate = orderDate;
			order.RequiredDate = requiredDate;
			order.ShippedDate = shippedDate;
			order.ShipVia = new int?(shipVia);
			order.Freight = freight;
			order.ShipName = shipName;
			order.ShipAddress = address;
			order.ShipCity = city;
			order.ShipRegion = region;
			order.ShipPostalCode = postalCode;
			order.ShipCountry = country;
			return order;
		}
		public static OrderDto ToOrderDto(Order model)
		{
			return new OrderDto {
				Id = model.Id,
				CustomerId = model.CustomerId,
				EmployeeId = model.EmployeeId,
				Freight = model.Freight,
				OrderDate = model.OrderDate,
				RequiredDate = model.RequiredDate,
				ShipAddress = model.ShipAddress,
				ShipCity = model.ShipCity,
				ShipCountry = model.ShipCountry,
				ShipName = model.ShipName,
				ShippedDate = model.ShippedDate,
				ShipPostalCode = model.ShipPostalCode,
				ShipRegion = model.ShipRegion,
				ShipVia = model.ShipVia,
			};
		}