Hi, i'd like to ask if DataObjects.net allows for constructing query trees (AST) dynamically, by combining basic expressions/predicates programmatically? And what about textual query language - is any supported? If so, can it be parsed into query AST? I'm asking because i'll need to construct queries in runtime, or modify existing query trees to enforce security rules, also in runtime. Thanks |
Hello, DataObjects.Net uses standard .NET API called expression trees (System.Linq.Expressions). You can construct trees in the code or use so called Dynamic LINQ which is a library for creating trees from textual representation. Any third-party library that is able to construct expression trees will likely work as well. |