Using Dapper-dot-net...
The following yields no results in the data object:
var data = conn.Query(@\" select top 25 Term as Label, Type,
The answer from Sam wasn't working for me so after some testing I came up with using the SQLite CONCAT equivalent which seems to work:
string sql = "SELECT * FROM myTable WHERE Name LIKE '%' || @NAME || '%'"; var data = IEnumerable data = conn.Query(sql, new { NAME = Name });