Case insensitive string compare with linq-to-sql and linq-to-objects

前端 未结 3 1950
野性不改
野性不改 2021-01-17 21:18

see also Differences between LINQ to Objects and LINQ to SQL queries

We are using the some queries over our database and our

3条回答
  •  南方客
    南方客 (楼主)
    2021-01-17 21:49

    I'm not an expert in linq to sql, but you could just use the ToUpperInvariant() method of string before compareing.

提交回复
热议问题