title: Create an empty .mdf file like what Visual Studio does with 'Add New item' menu
body: <p>I need to create an empty .mdf file in my application. Every thread I have read - here and there - suggest you to create an empty database with 'CREATE DATABSE' statement then create tables, Views, etc. with some scripts, but this is not what I want, coz I just want to create an empty .mdf file. Then I will connect to it and run my own script. This can be achieved by 'AttachDbFilename' attribute in connection string and you can connect to the empty .mdf file very easily.</p>
  
  <p>As far as I can see, only VS has the ability to create an empty .mdf file, so can anybody help me achieving this?</p>
  
  <p>Thanks</p>