title: execute sql query using 2 databases
body: <p>My query looks like:</p>
  
  <pre><code>INSERT INTO [NewModel.Persistence.PersistencyContext].[dbo].[NewPerson] (
      [Name], 
      [Location], 
      [LastUpdate]
      )
  SELECT 
      MIN([name]), 
      MIN([location]), 
      MIN([time])
  FROM [OldModel.Persistence.PersistencyContext].[dbo].[ExPerson]
  GROUP BY name
  </code></pre>
  
  <p>How do I define the connection string and what is the c# code to execute this query?</p>