Skip to content

多个ShardingDbContext #302

@chrismx000

Description

@chrismx000

我有两个DBContext需要做分表,简单的按月分表。注入时使用两次AddShardingDbContext注入两个DBContext,但只有最后一个注入能自动创建表?是否只支持一个Context自动创建表??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions