title: ef core 1.1.0 related entity async not inserted
body: <h1>EntityFramework core 1.1.0 async</h1>
  
  <pre><code>var blog = new Blog
  {
      Url = "http://blogs.msdn.com/dotnet",
      Posts = new List&lt;Post&gt;
      {
          new Post { Title = "Intro to C#" },
          new Post { Title = "Intro to VB.NET" },
          new Post { Title = "Intro to F#" }
      }
  };
  
  await _dbContext.Set&lt;Blog&gt;().AddAsync(blog);
  await _dbContext.SaveChangesAsync();
  </code></pre>
  
  <h2>Generated Query</h2>
  
  <pre><code>INSERT INTO [Blogs] ([Url])
  VALUES (@p0);
  SELECT [BlogId]
  FROM [Blogs]
  WHERE @@ROWCOUNT = 1 AND [BlogId] = scope_identity();
  </code></pre>
  
  <p>Why related object are not inserted when use  _dbContext.SaveChangesAsync();</p>
  
  <h1>EntityFramework core 1.1.0 sync</h1>
  
  <pre><code>var blog = new Blog
  {
  Url = "http://blogs.msdn.com/dotnet",
  Posts = new List&lt;Post&gt;
  {
      new Post { Title = "Intro to C#" },
      new Post { Title = "Intro to VB.NET" },
      new Post { Title = "Intro to F#" }
  }
  };
  
  _dbContext.Set&lt;Blog&gt;().Add(blog);
  _dbContext.SaveChanges();
  </code></pre>
  
  <h2>Generated Query</h2>
  
  <pre><code>SET NOCOUNT ON;
  INSERT INTO [Blogs] ([Url])
  VALUES (@p0);
  SELECT [BlogId]
  FROM [Blogs]
  WHERE @@ROWCOUNT = 1 AND [BlogId] = scope_identity();
  Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory:Information: Executed DbCommand (4ms) [Parameters=[@p1='?', @p2='?' (Size = 4000), @p3='?' (Size = 4000), @p4='?', @p5='?' (Size = 4000), @p6='?' (Size = 4000), @p7='?', @p8='?' (Size = 4000), @p9='?' (Size = 4000)], CommandType='Text', CommandTimeout='30']
  SET NOCOUNT ON;
  DECLARE @toInsert0 TABLE ([BlogId] int, [Content] nvarchar(max), [Title] nvarchar(max), [_Position] [int]);
  INSERT INTO @toInsert0
  VALUES (@p1, @p2, @p3, 0),
  (@p4, @p5, @p6, 1),
  (@p7, @p8, @p9, 2);
  
  DECLARE @inserted0 TABLE ([PostId] int, [_Position] [int]);
  MERGE [Posts] USING @toInsert0 AS i ON 1=0
  WHEN NOT MATCHED THEN
  INSERT ([BlogId], [Content], [Title])
  VALUES (i.[BlogId], i.[Content], i.[Title])
  OUTPUT INSERTED.[PostId], i._Position
  INTO @inserted0;
  
  SELECT [t].[PostId] FROM [Posts] t
  INNER JOIN @inserted0 i ON ([t].[PostId] = [i].[PostId])
  ORDER BY [i].[_Position];
  </code></pre>
  
  <p>I don't understand why <strong>sync</strong> work and <strong>async</strong> not work with related entities. </p>
  
  <p>Is it a bug in entityframework core 1.1.0 ?
  Any configuration ?</p>