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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

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