Nhibernate + QueryOver: filter with Where ignoring sensitive

后端 未结 5 1219
一生所求
一生所求 2021-01-11 22:54

I am trying to build a simple query in nHibernate with QueryOver but I want it to convert everything lower-case or ignore sensitive:

Domain.User User = Sessi         


        
5条回答
  •  清酒与你
    2021-01-11 23:42

    Better way is to change collation of your database to case insensitive one. If you can change database.

提交回复
热议问题