Hi,
I'm trying to created a accent insensitive search in my app.
For instance, I have this rows:
Name
-------
Ricardo Ribeiro
Luis Aragão
André Silva
João Souza
Paolo Guerreiro
If I do this:
var query = UnitOfWork.EntityManager.People
.Where(person => person.Name.Contains("ao"));
var result = query.Execute();
I expect this result:
Luis Aragão
João Souza
Paolo Guerreiro
But, my collection result is just "Paolo Guerreiro", because just this ocurrence contains "ao" without accent.
My database is configured to do accent insensitive searches and I can check that executing the generated query direct in database. Also, if I check my entity manager cache, I can see only these three rows loaded in my entity. Just my collection doesn't receive the expected result.