SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public async Task<List<StaffWorkMuchModel>> ExemptStaffWorkMuchPerWeek(int quarterId, int facilityId) {
  2.             using (var dbConnection = (IDbConnection) _serviceProvider.GetService(typeof(IDbConnection))) {
  3.                 dbConnection.ConnectionString += "ApplicationIntent=READONLY;";
  4.                 dbConnection.Open();
  5.                 return (await dbConnection.QueryAsync<StaffWorkMuchModel>("ExemptStaffWorkMuchPerWeek", new {
  6.                     id_qtr = quarterId,
  7.                     id_fac = facilityId
  8.                 }, commandType: CommandType.StoredProcedure, commandTimeout: 150)).ToList();
  9.             }
  10.         }
  11.      
  12. dbConnection.ConnectionString += "ApplicationIntent=READONLY;";
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top