Beispiel #1
0
 protected async Task <T> ExecuteAsync <T>(Func <IDbConnection, T> action)
 {
     using (var connection = await m_ConnectionFactory.CreateAsyncConnection())
     {
         return(action(connection));
     }
 }