Category "dapper"

How do I get back the key for a newly inserted record using Dapper.Contrib?

I have code like this: db.Insert(myObject); The key for the type myObject is of type System.Guid which is auto generated by RDBMS. I then want to insert child

How do I get an IDbTransaction from an IDbContext?

An IDbContext has a DatabaseFacade, which has a CurrentTransaction property. But the CurrentTransaction is an IDbContextTransaction. I want to pass an IDbTransa

Example of Dapper query with n number of Navigation Properties

I'm building a Dapper query with joins to 8 tables but apparently the Dapper SqlMapper only supports 7. I read in this article that there is an overload that

Call custom constructor with Dapper?

I'm trying to use Dapper to interface with the ASP.NET SQL Membership Provider tables. I wrapped the SqlMembershipProvider class and added an additional method