Пример #1
0
 ///<Summary>
 ///Constructor
 ///This constructor initializes the business object from its respective data object
 ///</Summary>
 ///<returns>
 ///void
 ///</returns>
 ///<parameters>
 ///DAOAlphabeticalListOfProducts
 ///</parameters>
 protected internal BOAlphabeticalListOfProducts(IDAOAlphabeticalListOfProducts daoAlphabeticalListOfProducts)
 {
     try
     {
         _productID       = daoAlphabeticalListOfProducts.ProductID;
         _productName     = daoAlphabeticalListOfProducts.ProductName;
         _supplierID      = daoAlphabeticalListOfProducts.SupplierID;
         _categoryID      = daoAlphabeticalListOfProducts.CategoryID;
         _quantityPerUnit = daoAlphabeticalListOfProducts.QuantityPerUnit;
         _unitPrice       = daoAlphabeticalListOfProducts.UnitPrice;
         _unitsInStock    = daoAlphabeticalListOfProducts.UnitsInStock;
         _unitsOnOrder    = daoAlphabeticalListOfProducts.UnitsOnOrder;
         _reorderLevel    = daoAlphabeticalListOfProducts.ReorderLevel;
         _discontinued    = daoAlphabeticalListOfProducts.Discontinued;
         _categoryName    = daoAlphabeticalListOfProducts.CategoryName;
     }
     catch
     {
         throw;
     }
 }
 public virtual IzNorthwindRestApiConn_BaseData BaseData(IDAOAlphabeticalListOfProducts daoAlphabeticalListOfProducts)
 {
     return((IzNorthwindRestApiConn_BaseData)(DAOAlphabeticalListOfProducts)daoAlphabeticalListOfProducts);
 }