Skip to content

Add example to script sql statements for dotnet-ef database update #3432

@OzBob

Description

@OzBob

As per StackOverflow post 'how-to-get-the-database-update-script-from-the-last-migration':

Please add an example to the ef docs on how to generated SQL file of the migration that would ocour for

 dotnet ef migrations script -from (MigrationYouWant-1) -to MigrationYouWant

or provide a link to the EF Core tools CLI Ref page


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions