Please see this document <a class="postlink" href="https://aspnetzero.com/Documents/Extending-Existing-Entities">https://aspnetzero.com/Documents/Extend ... g-Entities</a>
Hi,
If you want to show soft deleted records to some specific users, you can disable soft delete filter. Filter name is AbpDataFilters.SoftDelete. You can add a permission like "CanSeeSoftDeletedEntities", and according to this permission, disable AbpDataFilters.SoftDelete filter. <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Data-Filters#DocDisableFilters">http://www.aspnetboilerplate.com/Pages/ ... bleFilters</a>
For reverting soft delete and permenant delete, you can use custom repository and execute sql in it. <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/EntityFramework-Integration#DocCustomRepositoryMethods">http://www.aspnetboilerplate.com/Pages/ ... oryMethods</a>
In Domain Driven Design, it's suggested to put your bussiness logic in domain layer which is *.Core project in AspNet Zero solution. But it's not always easy to do that :)
I couldn't reproduce your scenario. Roles collection is either an empty array or filled with items, it was never null in my tests.
Can you share your project and database to simulate same scenario if it is possible.
You can send it privately to our info email address.
I couldn't figure out the difference actually ? Do you still have the problem with your real service ?
Hi,
You are invited on github.
This is the metronic v4.5.6 <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/releases/download/v1.10.0/metronic-v4.5.6.zip">https://github.com/aspnetzero/aspnet-ze ... v4.5.6.zip</a>
Hi,
I thought regular User and public User as a different concept of your domain. But of course you know your domain best :).
Are your public users related to tenants ? I'm asking because you have mentioned IMustHaveTenant filter.
Hi,
Inject INotificationStore into your AppNotifier. Then you can use
_notificationStore.IsSubscribedAsync
method to check if a user is subscribed to a specific notification.
This interface has some other methods you might find useful for your case.
Hi,
Can you share your github username ? Because metronic theme is in private github repository and I have to invite you before you download metronic theme.
Hi,
Which version of ABP do you use ? Did you make an nuget package upgrade recently or this just started to happen ?
Also, can you share the full exception stacktrace if possible ?