title: How can you store lists of objects in SQLite.net?
body: <p>Let us assume I have these two objects</p>
  
  <pre><code>class Customer {
     [PrimaryKey]
     public string id;
     [??????]
     public List&lt;int&gt; addresses;
  }
  </code></pre>
  
  <p>and</p>
  
  <pre><code>class Address {
       [PrimaryKey, AutoIncrement]
       public int id;
       public string street;
       public int number;
  }
  </code></pre>
  
  <p>Is there a way to use the SQLite.NET ORM to save the Customers object? cause I'm having a really hard time saving lists.</p>
  
  <p>If there is no such way, is there some sort of event I can implement or method I can override so that when an object gets loaded code will trigger?</p>
  
  <p>I was thinking something along the lines of adding [Ignore] above the list of addresses and when the event triggers I can use SQLite.net to load the ids of the addresses from another table</p>
  
  <p>Thanks in advance for any help you can provide</p>