5
Answers

Linq to Sql query to search for Accent sensitive name

Nepethya Rana

Nepethya Rana

8y
489
1
How do i write given query into  Linq to Sql Query
 
SELECT *
FROM employees
WHERE
name COLLATE Latin1_general_CI_AI Like '%Nino%' COLLATE Latin1_general_CI_AI.
 
This is my  code
 
queries.Add(from e in context.employees
where e.name == nameParam
select e);
 
 
 
Answers (5)