Dynamic odata service in C# from runtime data layer
I'm trying to create a dynamic odata service from tables in my tables which are not known till runtime. So at the start of my web application, a user selects a database and in C# I find all the tables in that database. Now the hard part is I want to create odata service endpoints for each table in the database and use them accordingly in my web application. The problem is I don't know how to do it dynamically. There are lots of examples with compile time known database tables, but in this case, I won't have them till the first time my user uses my application.
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.