I am trying to test out some Dapper stuff using LinqPad.
Dapper needs a SqlConnection (IDbConnection really) to work. I could construct my own in the code window, but I thought if LinqPad already had made one, I would just use that.
Does LinqPad have a SqlConnection object already hanging around that I could use?
Did you try this?
this.Connection
It's a DataContext
, after all.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With