///<Summary> ///Constructor ///This constructor initializes the business object from its respective data object ///</Summary> ///<returns> ///void ///</returns> ///<parameters> ///DAOInvoices ///</parameters> protected internal BOInvoices(IDAOInvoices daoInvoices) { try { _shipName = daoInvoices.ShipName; _shipAddress = daoInvoices.ShipAddress; _shipCity = daoInvoices.ShipCity; _shipRegion = daoInvoices.ShipRegion; _shipPostalCode = daoInvoices.ShipPostalCode; _shipCountry = daoInvoices.ShipCountry; _customerID = daoInvoices.CustomerID; _customerName = daoInvoices.CustomerName; _address = daoInvoices.Address; _city = daoInvoices.City; _region = daoInvoices.Region; _postalCode = daoInvoices.PostalCode; _country = daoInvoices.Country; _salesperson = daoInvoices.Salesperson; _orderID = daoInvoices.OrderID; _orderDate = daoInvoices.OrderDate; _requiredDate = daoInvoices.RequiredDate; _shippedDate = daoInvoices.ShippedDate; _shipperName = daoInvoices.ShipperName; _productID = daoInvoices.ProductID; _productName = daoInvoices.ProductName; _unitPrice = daoInvoices.UnitPrice; _quantity = daoInvoices.Quantity; _discount = daoInvoices.Discount; _extendedPrice = daoInvoices.ExtendedPrice; _freight = daoInvoices.Freight; } catch { throw; } }
public virtual IzNorthwindRestApiConn_BaseData BaseData(IDAOInvoices daoInvoices) { return((IzNorthwindRestApiConn_BaseData)(DAOInvoices)daoInvoices); }