title: EF5, Model-First, Generate Migration T-SQL.xaml seems to be not installed in Visual Studio 2012
body: <p>I am trying to get Model First DBGen working especially when one changes the model and one wishes to retain any data in the DB. VS2012 complains about a missing , "Generate Migration T-SQL.xaml" in "Entity Framework Tools \DBGen" where only "TablePerTypeStrategy.xaml" exists.</p>
  
  <p>I did try to copy in this file from the VS2010 install, but this did not work.</p>
  
  <p>I am a bit puzzled why I am getting an incomplete EF5 install since I have just installed VS2012 as of yesterday.</p>
  
  <p>Any thoughts?</p>
  
  <p>Many thanks,</p>
  
  <p>Ed</p>
  
  <p>P.S I did try this in VS2010, got a lot further, but when I executed the edmx.sql I got </p>
  
  <p>"Msg 50000, Level 16, State 127, Line 6
  Rows were detected. The schema update is terminating because data loss might occur.
  ** An error was encountered during execution of batch. Exiting."</p>