コード例 #1
0
 public async Task <List <Order> > GetAllForCustomer(int customerID)
 => await Connection.AcquireModels <Order>
     ("[JSON].GetOrders",
     new System.Data.SqlClient.SqlParameter("customerId", customerID));
コード例 #2
0
 public async Task <List <Order> > GetAllModels()
 => await Connection.AcquireModels <Order>("[JSON].GetOrders");