Query PostgreSQL with Npgsql and Entity Framework using unaccent
问题 Is possible to use Npgsql and Entity Framework 6 for query PostgreSQL ignoring accents? In play SQL it's possible to use the unaccent extension and could be indexed with a index also based in unaccent: select * from users where unaccent(name) = unaccent('João') In previous projects using MySql I could solve this problem just using a collation accent insensitive like utf8_swedish_ci but PostgreSQL lacks this kind of solution as far as I know. 回答1: If you use the Codefirst approach, you should