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

CmsKit - Model creating fix #7447

Merged
merged 1 commit into from Jan 25, 2021
Merged

Conversation

enisn
Copy link
Member

@enisn enisn commented Jan 25, 2021

Summary

Entity Framework configures all DbSets even you haven't configured in OnModelCreating method. So if a feature isn't enabled, we have to call Ignore() method to ignore default configuring by EF Core.

Also there are some duplicated configurations. I've just removed them too.

@enisn enisn added this to the 4.3-preview milestone Jan 25, 2021
@enisn enisn self-assigned this Jan 25, 2021
@ilkayilknur ilkayilknur merged commit 4c79f2e into dev Jan 25, 2021
@ilkayilknur ilkayilknur deleted the enisn/cmskit/model-creating-fix branch January 25, 2021 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants