DaveAmour 160 Mmmmmm beer Featured Poster

When you issue an update-database command from the package manager console, the migraiton inserts a zipped, base64 encoded representation of the model into the migrations database table in the model column.

My question is when is this data determined? Is it when you create the migration using add-migration or is it done in real time when you issue the update-database command? If the former, where is it stored until you issue an update-database command?

Thanks