Cool! Impressive that it's even faster than Dapper, too. Personally I'm a huge fan of Dapper but I really like how this is looking. I'll definitely be giving this a shot at some point.
Huge caveat; it's only faster than Dapper after the 1st query when it's built up the cached metadata, and only if you're not using referenced objects or child collections.
The speed comes from dynamically emiting IL for the object population methods.
Ahhh gotcha. Still though, very cool looking project! Having the option to do LINQ-style queries would be nice. I find that Dapper Rainbow rarely satisfies my needs outside of basic CRUD operations.
Re:Why I'm no longer giving up on C#
by joshuaellinger on Monday July 22, 2013 @04:06PM
(#6086152)
Looks interesting.
Are you going to build an editor/generator for VS?
Yes, it's in the roadmap (done through T4).
How about PetaPoco?
PetaPoco is awesome and I tested against it for performance (it's a little bit faster).
Some things this has that PetaPoco doesn't are expression visitors for the where clauses and the concept of referenced objects or child collections.
http://github.com/clotheshorse/destrier
works similarly in that you can map output to POCOs, but will also let you do more complex querying and CrUD operations.