title: Supplied connections must be of type AstDbConnectionNode
body: <p>I have been working on a simple BIML solution to start learning how to use it.  I keep getting an error message:</p>
  
  <blockquote>
    <p>Supplied connections must be of type AstDbConnectionNode for this method.
    at Varigence.Biml.Extensions.ExternalDataAccess.GetDatabaseSchema in :line 0</p>
  </blockquote>
  
  <p>I've been searching and trying different solutions and have not found an answer yet.  So, I'm turning to everyone here.  I need another set of eyes on this so I can figure out what I'm doing wrong.  </p>
  
  <p>My first BIML file has my connection setup to World Wide Importers on my local box.</p>
  
  <pre><code>&lt;Biml xmlns="http://schemas.varigence.com/biml.xsd"&gt;
  
  &lt;#@ template language = "C#" tier="0" #&gt;
  
  &lt;Connections&gt;
  &lt;OleDbConnection
      Name="src" 
      ConnectionString="Data Source=localhost\SQL16;Initial Catalog=WorldWideImporters;Provider=SQLNCLI11.1;Integrated Security=SSPI;" 
      CreateInProject = "true"&gt;
  &lt;/OleDbConnection&gt;
  &lt;/Connections&gt;
  
  &lt;Databases&gt;
      &lt;Database Name="src" ConnectionName = "src" /&gt;
  &lt;/Databases&gt;
  </code></pre>
  
  <p>Second BIML file is what is throwing the error</p>
  
  <pre><code>&lt;Biml xmlns="http://schemas.varigence.com/biml.xsd"&gt;
  
  &lt;#@ template language = "C#" tier = "1" #&gt;
  &lt;#@ import namespace="Varigence.Biml.CoreLowerer.SchemaManagement" #&gt;
  
  &lt;# var srcDB = RootNode.OleDbConnections["src"]; #&gt;
  &lt;# var WWIdb = srcDB.GetDatabaseSchema(ImportOptions.ExcludeViews); #&gt;
  
  &lt;Packages&gt;
      &lt;# foreach (var table in WWIdb.TableNodes) { #&gt;
      &lt;Package Name="&lt;#=table.Schema#&gt;_&lt;#=table.Name#&gt;"     ConstraintMode="Linear"&gt;
          &lt;Tasks&gt;
              &lt;Dataflow Name="DF Copy &lt;#=table.Name#&gt;"&gt;
              &lt;/Dataflow&gt;
          &lt;/Tasks&gt;
      &lt;/Package&gt;
      &lt;# } #&gt;
  &lt;/Packages&gt;
  &lt;/Biml&gt;
  </code></pre>