e class="lang-csharp">var author = new Author { Name = &quot;Eckhart Tolle&quot; }
await author.SaveAsync();

book.Author = author;
await book.SaveAsync()
</code></pre>
<p>as mentioned earlier, calling <code>SaveAsync()</code> persists <code>author</code> to the &quot;Authors&quot; collection in the database. it is also stored in <code>book.Author</code> property. so, the <code>author</code> entity now lives in two locations (in the collection and also inside the <code>book</code> entity) and will have the 