Basit Nisar

Basit Nisar

  • 1.7k
  • 84
  • 11k

hot to get the value of datetime property when using in global functio

Mar 9 2023 12:04 PM

LINQ to Entities does not recognize the method 'System.DateTime GetValueOrDefault()'

i am facing this error when i try to add my property in a model of type date time whose value is retrieved from global function

Ex: LastModifiedDate = Global.function name(param1,param2).GetValueOrDefault,


Answers (4)