Beispiel #1
0
 public IEnumerable <User> GetAll()
 {
     using (var connection = context.CreateConnection())
     {
         return(connection.Query <User>(UserQuery.All()));
     }
 }