title: Creating a ManyToMany relationship between two models
body: <p>I'm new to creating a Windows Store app and it requires a use of a database. I've settled for sqlite and am using the sqlite-net package. However, I'm unsure of how to create a m2m relationship between two models.</p>
  
  <pre><code>class ModelA
  {
       [PrimaryKey, AutoIncrement]
       public int Id { get; set; }
       public string name { get; set; }
       &lt;relationship to ModelB&gt;
  } 
  
  
  class ModelB
  {
       [PrimaryKey, AutoIncrement]
       public int Id { get; set; }
       public string name { get; set; }
  }
  </code></pre>
  
  <p>Would I have to use a List? or a byte[]? How can I guarantee the property will be constrained to <code>ModelB</code>?</p>