Skip Navigation

I think I've finally figured out nullability for required EF navigation properties

This may be common knowledge but I've never seen it online.

[MaybeNull] public Entity Entity { get; set; }

You now get a warning when accessing without a check and when setting to null.

Sadly you still need to ! in quries

0
0 comments