title: How to deploy a database programatically with C#
body: <p>I have a database project in my solution and the requirement is simple (not so sure about the implementation).</p>
  
  <p>Is there a way to deploy the database project programatically?</p>
  
  <p>PS: I don't mean attach an MDF file. I mean deploy the database to a SQL Server instance.</p>