Skip to content

Migrations: Data motion APIs #5642

@ansydor

Description

@ansydor

There is nothing that can help to manipulate with data with migrations:
basically it can be implemented like
migrationBuilder.Sql("Insert ...");
but would be grate to implement it like:
migrationBuilder.Insert.IntoTable("Users").Row(new { FirstName = "John", LastName = "Smith" });

there is a case why really need it this way:
there is a table Posts with string content column, but if I want a table Contents, so i want to add a table, select data, insert data and then delete column

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions