// Dapper – Simple List using (var connection = ConnectionFactory.GetOpenConnection()) { var posts = connection.Query("select * from posts").ToList(); }