Skip to content

Overriding MigrationBuilder CreateTable function #23525

@vasicvuk

Description

@vasicvuk

Ask a question

Hi everyone i want to be able to set prefix or custom schema to Entity Framework in runtime. I managed to do everything except the part of migrations. Regarding schema I managed to do that but I want to have ability to automatically override name argument in CreateTable function for example if Prefix is provided for tables.

I see that MigrationBuilder methods are overridable but how can I set custom MigrationBuilder to be used ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions