jonwagner / Insight.Database

Fast, lightweight .NET micro-ORM
Other
859 stars 145 forks source link

Add overloads to OpenWithTransaction* extension methods that take an IsolationLevel parameter #430

Closed lawrencek76 closed 4 years ago

lawrencek76 commented 4 years ago

Describe the feature

When building apps using transactions it would be convenient to have the OpenWithTransaction* methods take an IsolationLevel parameter to match DbConnection BeginTransaction api. In addition extension methods for SqlConnection that allow passing in the transaction name so the api duplicates the SqlConnection apis would be very nice.