title: How to write a Connection String for a service-based database in Visual Studio 2015
body: <p>I have created a service based database in Visual Studio 2015. But I have a problem to construct a connection string, because of path to the database includes</p>
  
  <p>How to write a functional connection string from this string fetched from the properties of the database?</p>
  
  <pre><code> Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename="\\gbg.local\hem\utb\personal\john.doe\documents\visual studio 2015\Projects\databastest_170307\databastest_170307\Database1.mdf";
  Integrated Security=True
  </code></pre>
  
  <p>I've tried different ways, but none have created a usable string..</p>