Käyttäjän "liangshiwei" toiminnot

Vastaus

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.

Vastaus

Hi,

You need add Volo.Abp.EntityframeworkCore NuGet package to your project.

Vastaus

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

Vastaus

Hi,

Can you provide full logs? thanks.

Hi,

See https://docs.abp.io/en/abp/latest/Localization#extending-existing-resource

Vastaus

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, I can't reproduce your problem. Can you provider steps to reproduce?

Vastaus

Hi,

You can use feature management. You can set the edition for the specified tenant and check the edition when displaying UI.

Näytetään 4721 - 4730/4885 tietueesta
Made with ❤️ on ABP v8.2.0-preview Updated on maaliskuuta 25, 2024, 15.11