EntitySpaces
EntitySpaces copied to clipboard
InvalidOperation Exception when trying to access Value of a bool? Property
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