title: Command-line/API for Schema Compare in SSDT SQL Server Database Project?
body: <p>In Visual Studio 2012, we have <a href="http://msdn.microsoft.com/en-us/library/hh272690%28v=vs.103%29.aspx" rel="noreferrer"><code>Schema Compare</code></a> in <a href="http://msdn.microsoft.com/en-us/data/tools.aspx" rel="noreferrer">SSDT</a>'s <code>SQL Server Database Project</code> (DbProject) project which helps</p>
  
  <ol>
  <li>Compare <code>source</code> versus <code>target</code> </li>
  <li>Update <code>target</code> to make it the same as <code>source</code></li>
  </ol>
  
  <p>Where</p>
  
  <ol>
  <li>Source and target can be either a database, a DbProject project, or a .dacpac file</li>
  <li>Update can be done via an <strong>update action</strong> or <strong>generated script</strong></li>
  </ol>
  
  <p>My question is that is it possible to have and where can I get the command-line/API interface to call this feature?</p>