Can SoftDelete be modified to take expression instead of a property?
GlennJohnson opened this issue · 0 comments
GlennJohnson commented
We use a property for softdelete called "IsActive" which is exactly opposite of what the tracker is looking for.
I tried this:
GlobalTrackingConfig.SetSoftDeletableCriteria
(entity => !entity.IsActive);
but it appears that the exclamation point is being ignored. If you could change this to take a Func instead of a property, you would make my life so much better ;)
thanks