Skip to content

Clarify snapshot section in EF Core Migrations tutorial #5801

Closed

Description

@bricelam

The Examine the data model snapshot section in the ASP.NET Core MVC with EF Core - Migrations - 4 of 10 article could use some clarification. Here is a comment about how one user got confused.

Ideas for improvement:

  • Don't show a code snippet. Most users won't need to touch this file
  • Remove the statements about EF interacting with the database, it's irrelevant
  • The paragraph about keeping the snapshot in sync and not deleting files could be covered by saying: If you want to delete a migration, use the Remove-Migration/dotnet ef migrations remove command.
  • It might be worth linking to the EF Core Migrations in Team Environments article

cc @divega

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions