Thank you, forgot about separate databases feature.
Hi, thanks for your answer, but tenant entity don't impliment IMayHaveTenant or IMustHaveTenant interface, and if i correctly understood filter, CurrentUnitOfWork.SetTenantId(null) make what we select only entities of host.
Best regards.
AspNet Zero 10.1 Angular - .Net Core
Hello!
Please explain why you will switch to the host in the method GetCurrentTenant of AppServiceBase class:
protected virtual Task<Tenant> GetCurrentTenantAsync() { using (CurrentUnitOfWork.SetTenantId(null)) { return TenantManager.GetByIdAsync(AbpSession.GetTenantId()); } }
Best regards!
Hi. I am using Angular 9 and .Net Core 3.1. Not work the method SendAsync from Abp.Net.Mail. Is it working for .Net Core 3.1 now, or do I need to use the "Abp.MailKit" for it?