public Int32 UpdateInvoice(Invoice invoice)
 {
     using (var sqlquerygenerator = new SqlQueryGenerator <Invoice>())
     {
         return(dapperService.Insert <Invoice>(sqlquerygenerator.GetUpdate(), invoice));
     }
 }
Beispiel #2
0
 public Int32 Update(Supplier supplier)
 {
     using (var sqlquerygenerator = new SqlQueryGenerator <Supplier>())
     {
         return(dapperService.Update <Supplier>(sqlquerygenerator.GetUpdate(), supplier));
     }
 }
 public Int32 Update(Tax product)
 {
     using (var sqlquerygenerator = new SqlQueryGenerator <Tax>())
     {
         return(dapperService.Update <Tax>(sqlquerygenerator.GetUpdate(), product));
     }
 }
 public Int32 Update(Customer customer)
 {
     using (var sqlquerygenerator = new SqlQueryGenerator <Customer>())
     {
         return(dapperService.Update <Customer>(sqlquerygenerator.GetUpdate(), customer));
     }
 }
 public Int32 Update(Category category)
 {
     using (var sqlquerygenerator = new SqlQueryGenerator <Category>())
     {
         return(dapperService.Update <Category>(sqlquerygenerator.GetUpdate(), category));
     }
 }