Si el comportamiento actual le molesta, considere configurar UseDatabaseNullSemantics
a true
.
public class MyContext : DbContext
{
public MyContext()
{
this.Configuration.UseDatabaseNullSemantics = true;
}
}
o
myDbContext.Configuration.UseDatabaseNullSemantics = true;