Bric
Bric
CC#
Created by Bric on 11/29/2023 in #help
Include child of nullable in EF Core
Thanks for the clarification!
9 replies
CC#
Created by Bric on 11/29/2023 in #help
Include child of nullable in EF Core
I understand why it happens, and yes technically if my activity does not contain a headerGroup calling headerGroup.Headers will throw a NRE. I wish I could include (or in this case, ThenInclude) with a condition
9 replies
CC#
Created by Bric on 11/29/2023 in #help
Include child of nullable in EF Core
Sorry I wasn't clear, dereference of a possibly null reference on the "h" in my lambda of ThenInclude
9 replies