Error adding migration with Migrations

4

I'm trying to add a migration and migration returns the following message:

  

The Designer Code for this migration file includes a snapshot of your current Code First model. This snapshot is used to calculate the changes to your model when you scaffold the next migration. If you make additional changes to your model that you want to include in this migration, then you can re-scaffold it by running 'Add-Migration AddedStoredProc' again.

    
asked by anonymous 16.09.2015 / 01:07

1 answer

3

Alright. This message means:

  

The designer code for this migration includes a snapshop (photo) of your template in Code First (the > Models here, in case). This photo is used to calculate the changes in your model (again, the set) when you pre-wrap the next migration. If you make additional changes to your template (again, the Models ) that you would like to include in this migration, you can preform the migration again using the 'Add-Migration AddedStoredProc' again.

It's just an orientation of what to do if something changes before you run a Update-Database .

    
16.09.2015 / 01:45