 navigation properties to null, if you don't want to insert them. In this example we would have posts with a blog, but we only want to insert the blog.</p>
<pre><code class="lang-cs">var blog = new Blog
{
    Name = &quot;My new Blog&quot;,
    Posts = new List&lt;Post&gt;
    {
        new Post 
        {
            Title = &quot;This is my first Post&quot;,
            Content = &quot;Hey there.&quot;
        },
        new Post 
        {
            Title = &quot;This is my second Post&quot;,
         