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

Do not create PropertyChanges for soft deleted entities. #9735

Merged
merged 2 commits into from Sep 17, 2021

Conversation

maliming
Copy link
Member

@maliming maliming commented Aug 4, 2021

Resolve #9698

It seems unreasonable to soft delete an entity and sees its properties become null.

image

@maliming maliming added this to the 5.0-preview milestone Aug 4, 2021
@maliming maliming marked this pull request as draft August 4, 2021 03:40
@maliming maliming changed the title Add SoftDeleted to EntityChangeType. Remove PropertyChanges from EntityChange when the entity is soft deleted. Aug 4, 2021
@maliming maliming changed the title Remove PropertyChanges from EntityChange when the entity is soft deleted. Do not create PropertyChanges for soft deleted entities. Aug 4, 2021
@maliming maliming marked this pull request as ready for review August 4, 2021 05:48
@maliming maliming requested a review from hikalkan August 4, 2021 07:34
@hikalkan hikalkan merged commit cdceaa2 into dev Sep 17, 2021
@hikalkan hikalkan deleted the maliming/EntityChangeType branch September 17, 2021 12:58
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.

Should the EntityHistoryHelper logic happen after applying the AbpConcepts for EntityFramework Core?
2 participants