for the shared entities like Vehicles; don't add IMultiTenant interface. if you are joining a MultiTenant entity with Non-MultiTenant entity you can disable MultiTenancy for that particular query.
public async Task<long> GetOnSaleVehiclesCountAsync()
{
using (_dataFilter.Disable<IMultiTenant>())
{
// some query with multitenant entities included.
}
}
https://docs.abp.io/en/abp/latest/Multi-Tenancy#data-filtering-disable-the-multi-tenancy-filter
1- see this document https://docs.abp.io/en/abp/latest/Entity-Framework-Core-Other-DBMS 2- also I advice you to update your project to v3.2.1
actually there's no practical way of this :(
the only way is removing the [Authorize]
attribute from Application Services.
If you want to guard some specific Web API actions, you can also put the [Authorize]
attribute to your service methods .
@talha in the new version (v3.2.X) there shouldn't be files under %UserProfile%\.abp\suite\solutions\{solution-id}\entities\
.
So the new location for entity files are in your solution folder. This is done because we wanted to include entity json files to the source-code system.
Find your entities in your-solution-root-direcroty\.suite\entities
hi Chris, I reproduced the issue
Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Demo
project is missing on NuGet. We'll add this in v3.3.0
See the commit for that https://github.com/abpframework/abp/commit/0242db8d076e889513f95a293d48857a9a120fd6
Not to block you now, I'm sending the related DLL https://drive.google.com/file/d/1i8MvNX2kVAeeOIgPwAsQ5vTLy1_Udszb/view?usp=sharing