there are more than 200 db (mssql), because the system is multi-tenant, one tenant with one database, so , I want to use Odata, but ,I don't know how to config ODataConventionModelBuilder and MapODataRoute, with difference connection string,
finally, odata-endpoint just like this:
http://localhost/db1/odatahttp://localhost/db2/odatahttp://localhost/db3/odata
...
each database structure is same ,but data is difference.
can tell me how to fix it? thank you !
there are more than 200 db (mssql), because the system is multi-tenant, one tenant with one database, so , I want to use Odata, but ,I don't know how to config ODataConventionModelBuilder and MapODataRoute, with difference connection string, finally, odata-endpoint just like this: http://localhost/db1/odata http://localhost/db2/odata http://localhost/db3/odata ... each database structure is same ,but data is difference. can tell me how to fix it? thank you !