If your DateTime
properties are nullable in the database then be sure to use DateTime?
for the associated object properties or EF will pass in DateTime.MinValue
for unassigned values which is outside of the range of what the SQL datetime type can handle.