HI,
DBMigrator does not support rollback. You can use ef core command to rollback database. see https://docs.microsoft.com/en-us/ef/core/miscellaneous/cli/dotnet#dotnet-ef-migrations-script.
Hi,
You need add Volo.Abp.EntityframeworkCore
NuGet package to your project.
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();
//......
}