Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Remove parameterless constructor and PopulateOnLoadingFromDb #1

Open
linkdotnet opened this issue Jul 30, 2020 · 1 comment
Open

Remove parameterless constructor and PopulateOnLoadingFromDb #1

linkdotnet opened this issue Jul 30, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@linkdotnet
Copy link
Owner

PopulateOnLoadingFromDb was mainly introduced for Entity Framework 6.x (as well as the parameterless c'tor) and NHibernate.

With EFCore 2.2 this becomes more or less obsolete but still holds true for NHibernate (one could workaround with interceptors but this seems hacky rather than a nice implementation.

Advantage of removing the parameterless constructor is clearly to force a specific implementation.

@linkdotnet linkdotnet added the enhancement New feature or request label Jul 31, 2020
@linkdotnet
Copy link
Owner Author

See branch: nhibernate-interceptor

@linkdotnet linkdotnet self-assigned this Aug 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant