コード例 #1
0
 public async Task <IEnumerable <Employee> > GetAllAsync()
 {
     using (var connection = context.CreateConnection())
     {
         return(await connection.QueryAsync <Employee>(EmployeeQuery.All()));
     }
 }