コード例 #1
0
 public List <InvoiceDetails> GetAllInvDetail()
 {
     using (var sqlquerygenerator = new SqlQueryGenerator <InvoiceDetails>())
     {
         return((List <InvoiceDetails>)dapperService.GetAll <Tax>(sqlquerygenerator.GetSelectAll()));
     }
 }
コード例 #2
0
 public List <Category> GetAll()
 {
     using (var sqlquerygenerator = new SqlQueryGenerator <Category>())
     {
         return((List <Category>)dapperService.GetAll <Category>(sqlquerygenerator.GetSelectAll()));
     }
 }
コード例 #3
0
 public List <Supplier> GetAll()
 {
     using (var sqlquerygenerator = new SqlQueryGenerator <Supplier>())
     {
         return((List <Supplier>)dapperService.GetAll <Supplier>(sqlquerygenerator.GetSelectAll()));
     }
 }
コード例 #4
0
 public List <Product> GetAll()
 {
     using (var sqlquerygenerator = new SqlQueryGenerator <Product>())
     {
         return((List <Product>)dapperService.GetAll <Product>(sqlquerygenerator.GetSelectAll()));
     }
 }