title: PetaPoco over multiple databases
body: <p>Don't ask why but there are four databases.  One of which I have rights to modify the schema. Let's call it <strong>external</strong>.  Again, it's a legacy deal but there are about 60 tables in one of the other three databases, called <strong>main</strong>.  Each record in those tables has a field that links it to a record in a corresponding table in <strong>external</strong>.</p>
  
  <p>PetaPoco will make quick work of a lot of the trouble.  Tentatively, I've tried multiple Database.tt files to manipulate all four databases.  Is there a better way?</p>
  
  <ol>
  <li>Should I create synonyms or views in <strong>external</strong> that refer to the goods in the other databases?  And then only use one Database.tt on <strong>external</strong>?  </li>
  <li>Is a combined POCO for the linked tables reasonable?</li>
  </ol>