Activities of "maliming"

hi

Can you try to clear your local Redis?

Your issue is related to your local environment, not the code.

hi

I use the Application (Layered) template to create a blazor-webapp project.

EF Core 有一些action 你可以自定义它们来为所有实体增加一些配置

请参考 https://abp.io/docs/latest/framework/data/entity-framework-core#abpdbcontextoptions

反射判断属性类型并配置它们。

https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/AbpDbContext.cs#L121-L140

Configure<AbpDbContextOptions>(options =>
{
    options.ConfigureDefaultConvention((dbContext, builder) =>
    {
        // This action is called for ConfigureConventions method of all DbContexts.
    });
    options.ConfigureConventions<YourDbContext>((dbContext, builder) =>
    {
        // This action is called for ConfigureConventions method of specific DbContext.
    });
    options.ConfigureDefaultOnModelCreating((dbContext, builder) =>
    {
        // This action is called for OnModelCreating method of all DbContexts.
    });
    options.ConfigureOnModelCreating<YourDbContext>((dbContext, builder) =>
    {
        // This action is called for OnModelCreating method of specific DbContext.
    });
});

hi

I just created a new template project from ABP Studio.

hi

Can you share a project to reproduce this problem?

liming.ma@volosoft.com

I will download and debug it.

Thanks.

: )

: )

Great 👍

hi

can you provide me with a up and down method for the host migration and then similarly a up and down method for the tenant migration?

You can generate it by dotnet ef migrations command, then you can revert the changes in your git.

https://abp.io/docs/9.2/release-info/migration-guides/abp-9-2 https://abp.io/docs/9.2/release-info/migration-guides

Thanks.

hi

Here is my test result. I can't reproduce your problem.

https://streamable.com/b5p2l4

Showing 1941 to 1950 of 11567 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 25, 2025, 06:16
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.