title: How to set EF context initialization through configuration file and seed when needed?
body: <p>I am using Entity Framework 6.1 and would like to set the initialization through a configuration file. At the same time I would like run a seed method when the setting in the configuration file is one that that drop and (re)create the database.</p>
  
  <p>Unless I am mistaken the <code>Seed</code>method will only be called when setting an initializer through code. Any way to specify what initializer to run in a configuration file (or whatever) in order to make the <code>Seed</code> method run when the configuration file species the database to be dropped and created?</p>
  
  <p>If not, what other option is recommended?</p>