Skip to content
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

EF Core Entity Extension System #3126

Closed
hikalkan opened this issue Mar 15, 2020 · 1 comment · Fixed by #3360
Closed

EF Core Entity Extension System #3126

hikalkan opened this issue Mar 15, 2020 · 1 comment · Fixed by #3360

Comments

@hikalkan
Copy link
Member

It is actually possible with the IHasExtraProperties system (see the documentation), however, it is not creating a field in the database for this exra properties.

I will research on if we can make possible to add a field in the database and manage the field using the same IHasExtraProperties system, probably with EF Core's shadow properties system. Actually, I tried it and seems possible.

@hikalkan hikalkan added this to the 2.4 milestone Mar 15, 2020
@hikalkan hikalkan self-assigned this Mar 15, 2020
@hikalkan hikalkan changed the title Provide a model & documentation to add new properties to existing entities Entity Extension System Mar 25, 2020
@hikalkan
Copy link
Member Author

This is not a breaking change. But it is suggested to apply this change to existing solutions to take the advantage of this feature.

This is what I've done for the application startup template: fc3ae6a

So, you can make similar changes in your projects.

@hikalkan hikalkan changed the title Entity Extension System EF Core Entity Extension System Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant