Search code examples
sqlitedapperroslynpad

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


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


Solution

  • 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")