How to write C# case insensitive LIKE statement for SQLIte using ICU extension? -
sqlite have limitation on using non-ascii symbols. icu extension solves problem. how write code in c# creating following case insensitive statement:
select * persons surname '%Пупкин%'
p.s. if there solution using in c# statement non-ascii symbols please provide it.
c# code
var lst = (from p in persons p.surname.indexof(searchtext, stringcomparison.invariantcultureignorecase) >= 0 select p).tolist()
invariantcultureignorecase 1 of options of string.indexof methods. might achieve c#
Comments
Post a Comment