How can I convert the string to datetime using linq to entities ....
I have got the below query, where the visit_date
column datatype is string...
Because DateTime and DateTimeOffset are structs, they are not intrinsically nullable. When you need nullability, there are two ways around this: