title: Nullable Owned types in EF Core
body: <p>I my case I want to store an address but it has to be optional. </p>
  
  <p>My mapping lookes like this:</p>
  
  <pre><code>map.OwnsOne(x =&gt; x.Address, cb =&gt; cb.OwnsOne(l =&gt; l.Location));
  </code></pre>
  
  <p>But when comitting my DbContext with Address as null iam getting this error:</p>
  
  <blockquote>
    <p>InvalidOperationException: The entity of 'Member' is sharing the table
    'Members' with 'Member.Address#StreetAddress', but there is no entity
    of this type with the same key value 'Id:-2147480644' that has been
    marked as 'Added'.</p>
  </blockquote>
  
  <p>I then instantiated the Address and Location from the constructors, and now I can save the entity. But when fetching the data again I also gets an instantiated Address, where i really wanted a null value.</p>
  
  <p>Is it not possible to make nullable Owned Types ?</p>