-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Plugin Interface for Models #1563
Comments
@alfkonee Thanks for the suggestion. Could you ellaborate more on how you envision this would work? |
@alfkonee Are you talking about not knowing what models will exist in the DbContext until runtime? Something similar to this? http://romiller.com/2012/03/26/dynamically-building-a-model-with-code-first/ |
Hey there guys sorry about the long silence had a bad cold these past few days. Well the feature I suggested is exactly as shown in @Jetski5822 comment |
I found this item sitting on my plate for investigation, but I think it either belongs in the backlog or closed, so clearing up milestone for re-triage. The main point I gather from the conversation is to make it easy to have base models that are extended dynamically/programmatically, which is a valid and important scenario. However, some of this is already possible, e.g. applications using ASP.NET Identity do it all the time by deriving from On the other hand some richer scenarios could be enabled by shadow entities which is already covered in #749. |
I was just working on project that has to use a plugin architecture ie the application will have a main core with multiple plugins extending the features for the application. Each plugin will have some data models that extend the core's EF Model.
I would like to suggest a feature that will make it simple to append Model and Relationship Definitions to a current DBContext
I know this is a long shot but will really appreciate if you take it into consideration
The text was updated successfully, but these errors were encountered: