Entity Framework 6 is passing 0 instead of null when using AddOrUpdate() in update scenario. The code runs fine in insert scenario.
0
null
AddOrUpdate()