title: NLog use Connection String Name in appsettings
body: <p>I have an NLog database target that looks like this:</p>
  
  <pre><code>&lt;target xsi:type="Database" name="database"
        connectionString="Server=.\SQLEXPRESS;Database=ApplicationOne;Trusted_Connection=True;MultipleActiveResultSets=true;User Id=User0101;Password=PW0101"   
        commandText="INSERT INTO [SchemaOne].[EventLogs](Id, Message, Level, Logger )VALUES(NewID(), @Message, @Level, @Logger)"&gt;
    &lt;parameter name="@Message" layout="${message}" /&gt;
    &lt;parameter name="@Level" layout="${level}" /&gt;
    &lt;parameter name="@Logger" layout="${logger}" /&gt;
  &lt;/target&gt;
  </code></pre>
  
  <p>Is it possible to change the connectionString to use connectionStringName from my appsettings instead?</p>
  
  <p>My appsettings is called dssettings.json and it contains the connection details here:</p>
  
  <pre><code>"DatabaseConfiguration": {
      "DatabaseName": "ApplicationOne",
      "ConnectionName": "DefaultConnection",
      "ConnectionString": "Server=.\\SQLEXPRESS;Database=ApplicationOne;Trusted_Connection=True;MultipleActiveResultSets=true;User Id=User0101;Password=PW0101" 
    },
  </code></pre>