News for hackers. Stuff that matters.
Re:Why I'm no longer giving up on C# by bigdubs on Monday July 22, 2013 @04:01PM (#6086124)
We're going to do a longer blog post on this later, but if you don't want to use Massive for your sql mapper, maybe try out:

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.

Re:Why I'm no longer giving up on C# by Griever on Monday July 22, 2013 @04:09PM (#6086168)
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.
Re:Why I'm no longer giving up on C# by bigdubs on Monday July 22, 2013 @04:15PM (#6086190)
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.

Re:Why I'm no longer giving up on C# by Griever on Monday July 22, 2013 @04:24PM (#6086233)
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?

Re:Why I'm no longer giving up on C# by bigdubs on Monday July 22, 2013 @04:09PM (#6086163)
Yes, it's in the roadmap (done through T4).
Re:Why I'm no longer giving up on C# by cmircea on Monday July 22, 2013 @04:39PM (#6086319)
How about PetaPoco?
Re:Why I'm no longer giving up on C# by bigdubs on Monday July 22, 2013 @04:46PM (#6086358)
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.