In EF, if I add a new entity which represents an existing table in the database I get an error stating I need to run a migration.
Is there anyway to add an existing table to my context without needing to create a new migration?
Seems pointless to have an empty migration like this...
public override void Up() { } public override void Down() { } I'm guessing every time I add entites it compares it to a serialised version in __MigrationHistory's model column.