Hi maliming :)
Thanks for the reply. I was checking out the github link you shared.
I tried to add the override for deleteasync just like how we did for the WithDetailsAsync but that didn't work out.
Do you have any reference code which we can refer to that extends deleteasync to soft delete the subcollections ?
Thank you
We perform delete function on EntityName
by calling the DeleteAsync
on the repository EntityNameRepository
.
However EntityName
has a number of child tables. DeleteAsync
sets the IsDeleted value to true for the EntityName
however that doesn't happen for the child entities of EntityName
.
How to cascade delete all entities associated with EntityName
Hi Engincan, I noticed it's suggested by you that to not use Guid.NewGuid() at the dto. What do you propose is a better alternative. If you could give us brief of what has to be done, it'd help us making the architectural change.
Thank you :)
Hi @EngincanV,
We're still getting the error. Do you mind checking remotely?
Thanks
Hi,
I have sent you the mail. Please let me know if further info is needed.
Regards,
Hi engincan, The names are different. I did not want to put the exact name out in the public domain. Are you free for a remote session? or please share your mail id. Thanks :)
Hi,
I have sent you an invite :)
the id param is there for employee entity. i am using the manager class in between and i have put all the properties inside the constructor for employee entity. if you could share your github id, i can share the repo with you.
Hi @EngincanV,
I added the following lines to the Contact domain class:
protected Contact() { } internal Contact (Guid id) : base(id) { }
The error still shows. Is there something I am missing?
Thank you :)