Skip to content

Add extensions methods for MigrationBuilder to rename primary keys/foreign keys. #4

@GillesTourreau

Description

@GillesTourreau

Currently Entity Framework migration does not support to rename primary keys/foreign keys (see dotnet/efcore#5662 issue).
Add and provides the following extensions methods for the MigrationBuilder :

  • RenamePrimaryKey(name, newName, table, schema)
  • RenameForeignKey(name, newName, table, schema)

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