Ignoring accents in SQL Server using LINQ to SQL

前端 未结 4 1883
梦谈多话
梦谈多话 2020-12-17 19:20

How can I ignore accents (like ´, `, ~) in queries made to a SQL Server database using LINQ to SQL?

UPDATE:

Still haven\'t figured out how t

4条回答
  •  被撕碎了的回忆
    2020-12-17 20:06

    LINQ to SQL doesn't have any specific functionality for setting the collation used for a query and so it will always use the database default.

提交回复
热议问题