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