Using Dapper-dot-net...
The following yields no results in the data object:
var data = conn.Query(@\" select top 25 Term as Label, Type,
Best way to use this to add concat function in query as it save in sql injecting as well, but concat function is only support above than sql 2012
string query = "SELECT * from country WHERE Name LIKE CONCAT('%',@name,'%');" var results = connection.query(query, new {name});