Redefined DbContext and indicated the model on which I will work with the database:
public class EFDbContext: DbContext { public DbSet<Article> Articles { get; set; } } I changed my Article model, deleted one field in the model and deleted the corresponding column from the database. In subsequent calls to the context, a SQL query is still executed for a non-existent field, which is why the error is:
Invalid column name
Tell me, what could be the error?
DropCreateDataBaseIfModelChanged- Andrey NOPCode Firstapproach - how it is implemented ... - SergeyE