Thank you @demirmusa, the problem is solved.
Thank you. Just one clarification: -> Your tenant db and host db is different.
No, host and tenant are on the same database.
Yes, exactly.
Multi tenant.
I'm trying to debug the source code but I'm not able to set correctly VS based on this documentation https://aspnetboilerplate.com/Pages/Documents/Debugging. No pdbs are founded :'Abp.AspNetZeroCore.dll'. Cannot find or open the PDB file.' But this is another issue.
Hi @demirmusa
I'm sorry by I think that the expected behaviour is to obtain the Tenant value (smtp.my.domain) and not the Host value (127.0.0.1).
The Tenant's value is correctly written on database.
Hi,
I have some problem with reading smtp settings (only for this).
With a logged user in a Tenant :
SettingManager.ChangeSettingForTenant(AbpSession.GetTenantId(), Abp.Net.Mail.EmailSettingNames.Smtp.Host, input.SmtpHost);
writes correctly in database:
Id CreationTime CreatorUserId LastModificationTime LastModifierUserId Name TenantId UserId Value 10154 2020-01-27 11:03:51.4605249 4 NULL NULL Abp.Net.Mail.Smtp.Host 2 NULL smtp.my.domain
But, when I read the same value with
SmtpHost = SettingManager.GetSettingValueForTenant(Abp.Net.Mail.EmailSettingNames.Smtp.Host, AbpSession.GetTenantId()),
and AbpSession.GetTenantId() return 2,
I obtain 127.0.0.1 the is the default value.
Every other my setting works fine. There is something I'm missing?
ANZ 7.1.0 with Angular and Core 2
Thank you
Thank you @maliming for the quick response.
Hi, I'm using the extension Abp.EntityFrameworkCore.EFPlus. All works fine but I don't find how to set the BatchSize and BatchDelayInterval properties in delete methods.
Are they supported?
Thank you.
Thank you @demirmusa I think that now I have a complete picture of the behaviour.
In ChatMessageManager, Save and GetUnreadMessageCount have the UnitOfWork attribute, while FindMessageAsync hasn't. Why ?
Anyway, reading with more attention, your link gave me some response to my questions.
Thank you