MikeGriffinReborn / EntitySpaces

EntitySpaces - A Fluent SQL library for .NET
24 stars 20 forks source link

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

Open HeikoAdams opened 4 years ago

HeikoAdams commented 4 years ago

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

HeikoAdams commented 4 years ago

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