Specifying a unicode-named column in dynamic where clause (Entity Framework) -


when set clause of entitydatasource contains unicode column name, exception occurs:

the simple identifier 'عنوان_قرارداد' must contain basic latin characters only. use unicode characters, use escaped identifier. near line 6, column 4.

and part of code:

griddatasource.where = "it.عنوان_قرارداد == \"something\""; 

i tried using escaped identifier new exception occurred:

the query syntax not valid., line 6, column 4

is there solution problem?

finally found solution:

griddatasource.where = "it.[عنوان_قرارداد] == \"something\""; 

Comments

Popular posts from this blog

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -

openssl - Load PKCS#8 binary key into Ruby -