You need to add a blank “merge” migration that will reset the snapshot of the latest migration in the .resx file. Do this using the IgnoreChanges switch:
Add-Migration <migration name> -IgnoreChanges
See here for an explanation
More Related Contents:
- Mapping Database Views to EF 5.0 Code First w/Migrations
- Enable Migrations with Context in Separate Assembly?
- EF migration for changing data type of columns
- GUID COMB strategy in EF
- Seed Entities AND Users, Roles?
- How do I apply OrderBy on an IQueryable using a string column name within a generic extension method?
- Entity Framework Core: A second operation started on this context before a previous operation completed
- LINQ To Entities does not recognize the method Last. Really?
- Bulk-deleting in LINQ to Entities
- An object with the same key already exists in the ObjectStateManager. The ObjectStateManager cannot track multiple objects with the same key
- Entity Framework And Business Objects
- Entity Framework 6: audit/track changes
- Self referencing loop detected – Getting back data from WebApi to the browser
- “The LINQ expression node type ‘Invoke’ is not supported in LINQ to Entities” – stumped!
- LINQ, Unable to create a constant value of type XXX. Only primitive types or enumeration types are supported in this context
- Entity vs Model vs View Model
- Eager , Lazy and explicit loading in EF6
- Using Simple Injector with Unit Of Work & Repository Pattern in Windows Form
- Place to put Database.SetInitializer
- Entity Framework: How to disable lazy loading for specific query?
- Finding the reason for DBUpdateException
- The entity type ApplicationUser is not part of the model for the current context
- entity framework update many to many relationship: virtual or not
- Entity Framework and multiple schemas
- NSubstitute DbSet / IQueryable
- System.Data.MetadataException: Unable to load the specified metadata resource
- How should I set up my integration tests to use a test database with Entity Framework?
- Where to convert business model to view model?
- Entity Framework SaveChanges() vs. SaveChangesAsync() and Find() vs. FindAsync()
- Entity Framework – Generating Classes