Linq - get compare with transliterated value of fields

Posted by Maxim on Stack Overflow See other posts from Stack Overflow or by Maxim
Published on 2010-04-30T08:50:03Z Indexed on 2010/04/30 8:57 UTC
Read the original article Hit count: 280

Filed under:
|

Hi!

I have a table (sql server). One of its columns ('Name') Contains Cyrillic values.

From parameters i recieve value, that contains in this field but the are transliterated.

i mean something like:

var q = from r in m_DataContext.Table where CTransliteration.Transliterate(r.Name).Contains(trans_text) select r;

How can i transliterate value on-fly?

© Stack Overflow or respective owner

Related posts about LINQ

Related posts about c#