In nhibernate i am using following to compare date
Restrictions.Eq(Projections.Property("SubmittedDate"), request.Data.SubmittedDateTime.Value)
in local environment its working. but in other environment its not returning result.
SubmittedDateTime? is nullable
do i need to mention nullable somewhere in mapping file.
Is there any change i need to do in code for this?