0
Karunakar created
- ABP Framework version: latest
- UI Type: Angular
- Database System: EF Core (MySQL.)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
- Exception message and full stack trace: While trying to delete a record from context getting System.InvalidOperationException : The property 'Cusotmer.ExtraProperties' could not be found. Ensure that the property exists and has been included in the model.
- Steps to reproduce the issue:
-
- Create and Entity by using AggregateRoot<Customer, Guid> and also have ISoftDelete interface.
-
- While model creation we igonred ExtraProperties and dont want this property in our table.
-
- try to delete(set isDelete=true) a record based on ISoftDelete by DeleteAsync method from repository using IRepository<> interface.
-
- Will get Exception System.InvalidOperationException : The property 'Cusotmer.ExtraProperties' could not be found. Ensure that the property exists and has been included in the model.
-
- We need the IsoftDelete needs to update the record filed IsDelete=0 without expecting the property ExtraProperties.
Note : While deleting we are using IHasDelettionTime interface for entity so that it will updating the DeletionTime filed but we need DeletorId like CreatorId while deleting the record to identity who deleted the record. *