Exemplo n.º 1
0
 public Book.Model.Home GetCount()
 {
     Book.Model.Home      home     = new Model.Home();
     Book.DAL.T_Base_Book book_dal = new DAL.T_Base_Book();
     home.BookCount = book_dal.GetCount();
     Book.DAL.T_Base_Provider provider_dal = new DAL.T_Base_Provider();
     home.ProviderCount = provider_dal.GetCount();
     Book.DAL.T_Base_Customer customer_dal = new DAL.T_Base_Customer();
     home.CustomerCount = customer_dal.GetCount();
     Book.DAL.T_Stock_In in_dal = new DAL.T_Stock_In();
     home.InHeadCount = in_dal.GetCount();
     Book.DAL.T_Stock_Out out_dal = new DAL.T_Stock_Out();
     home.OutHeadCount = in_dal.GetCount();
     return(home);
 }
Exemplo n.º 2
0
 public int GetCount()
 {
     Book.DAL.T_Stock_In dal = new DAL.T_Stock_In();
     return(dal.GetCount());
 }