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
Post a Comment