title: How do i populate a database with table/row definitions that were autogenerated?
body: <p>I've run the autogenerator against a database (sqlserver db) and it generated a number of table definitions.</p>
  
  <p>I'm looking to use these definitions to populate a new database - i thought i'd just use <code>Tables.ddl.create</code> but i'm seeing a compilation error (<code>value create is not a member of app.db.Tables.profile.DDL</code>)</p>
  
  <p>also, once a table is created, what's the canonical pattern for populating it? (the autogenerated code doesn't seem to contain <code>*</code> projections - is that intentional?)</p>
  
  <hr>
  
  <p>sample autogenerated table definition:</p>
  
  <pre><code> /** Entity class storing rows of table SampleTable
     *  @param sampletableid Database column SampleTableId DBType(uniqueidentifier), Length(36,false)*/
    case class SampleTableRow(sampletableid: Option[String])
  
    /** GetResult implicit for fetching SampleTableRow objects using plain SQL queries */
    implicit def GetResultSampleTableRow(implicit e0: GR[Option[String]], e1: GR[Int], e2: GR[Option[java.sql.Clob]], e3: GR[java.sql.Timestamp]): GR[SampleTableRow] = GR{
      prs =&gt; import prs._
     SampleTableRow.tupled((&lt;&lt;?[String]))
    }
  
    /** Table description of table SampleTable. Objects of this class serve as prototypes for rows in queries. */
    class SampleTable(_tableTag: Tag) extends Table[SampleTableRow](_tableTag, Some("dbo"), "SampleTable") {
      def * = (sampletableid) &lt;&gt; (SampleTableRow.tupled, SampleTableRow.unapply)
      /** Maps whole row to an option. Useful for outer joins. */
      def ? = (sampletableid).shaped.&lt;&gt;({r=&gt;import r._; _3.map(_=&gt;SampleTableRow.tupled((_1)))}, (_:Any) =&gt;  throw new Exception("Inserting into ? projection not supported."))    
      /** Database column SampleTableId DBType(uniqueidentifier), Length(36,false) */
      val sampletableid: Column[Option[String]] = column[Option[String]]("SampleTableId", O.Length(36,varying=false))
    }
  
    /** Collection-like TableQuery object for table SampleTable */
    lazy val SampleTable = new TableQuery(tag =&gt; new SampleTable(tag))
  </code></pre>