Hi,
Try:
using (CurrentTenant.Change(Guid.Parse("tenant id")))
{
var dbContext= await _repository.GetDbContext();
}
See https://docs.abp.io/en/abp/latest/Entity-Framework-Core#access-to-the-ef-core-api
Hi,
Can you provide full logs? thanks.
Hi,
See https://docs.abp.io/en/abp/latest/Localization#extending-existing-resource
Hi,
Here is an example that may help you : https://github.com/abpframework/abp-samples/tree/master/BookStore-Modular
See https://support.abp.io/QA/Questions/144/Abp-Ver-262-Error-when-hosting-on-IIS-8
Example :
public class UpdateModuleDto
{
public string Name { get ;set ;}
public void Normalize()
{
Name = Name.Trim();
}
}
public async Task<ModuleDto> UpdateAsync(ModuleKeyDto id, UpdateModuleDto input)
{
input.Normalize();
//......
}
Hi, see https://docs.microsoft.com/en-us/ef/core/modeling/value-conversions
Value converters allow property values to be converted when reading from or writing to the database.
Value converters do not change property values when inserting and updating, but change parameter values. You should normalize DTO.
Hi, Angular email settings page is currently unavailable. I create an internal issue for this.