I've been using Dapper like this to do queries (simplified psudeo-code):
var sql = "SELECT * FROM EMPLOYEE;"
using (Connection)
{
return Connection.Query<Employee>(sql);
}
I was wondering if this is considered "inline SQL", which is bad according to a lot of people.