I have a problem with a system in relation to the search that does not return a result for reasons of emphasis.
I would like to know how to make the accent be ignored in the system?
Note The system is already hosted and running with SQL Server database containing lots of data. I'm using Code First, Asp.Net MVC, Entity Frameworks
The SQL Link I'm using is this.
var pesquisa = db.Empresa.Where(x => x.Cidade.Contains(cidade) &&
(x.Nome.Contains(empresa)
|| x.CategoriaEmpresa.Any(c => c.Categoria.Nome.Contains(empresa))))
.ToList();
How do I get the above code to ignore the accent along with upper box ToUpper ()