title: How to define a table in QxORM with multiple primary keys, one of them is a "many to one" relation to an other table
body: <p>What is the right way to define a table (“secondtable”) with multiple primary key, one of them (“|first_table_key”)  is a “many to one” relation to another table (“firsttable”)?</p>
  
  <p>This doesen't work because of multiple definitions of “first_table_key”!</p>
  
  <pre><code>namespace qx 
  {
  template &lt;&gt; void register_class(QxClass&lt;secondtable&gt; &amp; t)
  {
     t.id(&amp;secondtable::m_id, “second_table _key|first_table_key”);
     t.data(&amp;secondtable::m_text, "second_table_text");
     t.relationManyToOne(&amp;secondtable::m_firsttable, “first_table_key”);
  }
  }
  </code></pre>