MikeGriffinReborn/EntitySpaces

InvalidOperation Exception when trying to access Value of a bool? Property

Opened this issue · 1 comments

Hi,
code like this is raising an InvalidOperation Exception
this.auftragTemporaer.UrspruenglicheLieferungViaFks.Laender.Eu.Value
Eu is a nullable bool property .

Calling
this.auftragTemporaer.UrspruenglicheLieferungViaFks.Laender.Eu.GetValueOrDefault()
instead works fine