Dynamic query with string value
I'm using ScottGu's Dynamic Linq and everything work fine, but I've an issue:
There are some tables which contains a primay key as string type, so how can I make a dynamic query passi string type to where calusole?
I cannot find any synt开发者_C百科ax for that...
Example:
QueryAbleObject.Where(StringField = 'someValue');
-> It throws a parser exception..
Excerpt from OP's comment above:
"I just found the exact syntaxt..Simply passing " character instead of single quot."
精彩评论