I wonder if there is some way to connect without using Lazy Loading Virtual attribute? For Code Analysis does not let me use VIRTUAL, and would not assign the SUPPRESS.
Could anyone help me with this? Thank you.
I wonder if there is some way to connect without using Lazy Loading Virtual attribute? For Code Analysis does not let me use VIRTUAL, and would not assign the SUPPRESS.
Could anyone help me with this? Thank you.
Entity Framework lazy loading works by creating instances of dynamic proxy types which derive from your types and override their virtual properties. The out-of-the-box lazy loading therefore requires those properties to be virtual.