Пример #1
0
 ///<Summary>
 ///Constructor
 ///This constructor initializes the business object from its respective data object
 ///</Summary>
 ///<returns>
 ///void
 ///</returns>
 ///<parameters>
 ///DAOSalesByCategory
 ///</parameters>
 protected internal BOSalesByCategory(IDAOSalesByCategory daoSalesByCategory)
 {
     try
     {
         _categoryID   = daoSalesByCategory.CategoryID;
         _categoryName = daoSalesByCategory.CategoryName;
         _productName  = daoSalesByCategory.ProductName;
         _productSales = daoSalesByCategory.ProductSales;
     }
     catch
     {
         throw;
     }
 }
 public virtual IzNorthwindRestApiConn_BaseData BaseData(IDAOSalesByCategory daoSalesByCategory)
 {
     return((IzNorthwindRestApiConn_BaseData)(DAOSalesByCategory)daoSalesByCategory);
 }