I know that with dynamic linq you can dynamically build expressions the same way you can create and execute a dynamic SQL statement - for example. dynamic where clause or dynamic pick list. Is it possible to do this in cases where the circuit is not known at compile time?
In the database I work with, users can define their own objects that create new tables / columns in the internal database. At run time, I will know the names of the tables and columns that I need to work with, but I will not know the schema at compile time, so I cannot build DBML to work in front.
Is there any way to dynamically detect the schema at runtime, or is this the case when I need to stick to building dynamic SQL statements?
source
share