We have a database that has been deployed to various clients. We are currently introducing a optional new feature that, to be used, will require the customers who want the f
The only possible ways are
ObjectContext
by calling ExecuteStoreQuery
.Your entity model will still have this table so in my opinion you should simply ship your DB with that table and in application code handle if feature is allowed or not (table will not be used but will be in DB).
If you want to make modular system then whole your feature (including application code) should not be present when client don't want to use it.