Just asked this question before and answered points but realised I needed another solution.
I want to calculate a persons age by passing in the date of birth - however the date of birth is a nullable type. DateTime?
I am using linq to sql and want a method to calculate the age taking into account the nullable date of birth.
So something like
Age = db.CalculatePersonsAge(DOB)
Age is an integer and DOB is nullable