How can i use dapper to connect to a sqlite database?

dapper sqlite

Question

How can I use dapper to connect and get data from a sqlite database?

Accepted Answer

There is nothing magical you need to do. Just add:

using Dapper;

And run queries on your open SqliteConnection

cnn.Query("select 'hello world' from Table")



Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why