Unanswered Telling CodeFirst/Migrations to ignore a model?

  • Friday, December 16, 2011 12:13 AM
     
     

    We have a model that is actually a view, and we don't want migrations to try and generate a migration file/SQL for it. Just want migrations to ignore the model. Any way to do this with annotations, etc?

    Maybe it would be helpful if CodeFirst had a data annotation to indicate "read only" or a "view".

    Thanks in advance.