'EntityFramework Navigation properties are null only sometimes
I'm experiencing an issue where all of the sudden my navigation properties are null. the strange thing is it only happens sometimes for the same get.
I'm using a database first approach with lazyloading enabled. making the same call Context.table.FirstorDefault(a=> a.Id == Id) using the same Id randomly table.table2 will be null
any thoughts?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|