Is it possible to make "Entity SQL"-like queries against DataObjects model? |
Hello, Unfortunately, "Entity SQL" approach is not supported, but there is a good alternative: try using Dynamic LINQ library to build LINQ queries from user-written query strings, I suppose it will help. AFAIK, Dynamic LINQ allows to define only expressions inside The easiest way to implement this is to use CSharpCodeProvider to compile the query dynamically at runtime. Thank you. Most likely this is only way in my case.. Main imperfection of this approach is that CodeDomProvider compiler seems doesn`t available under Silverlight. |