views:

20

answers:

0

I prefer working with DateTime.MinValue, even if I use SqlServer as backend.

Is it possible to make EntityFramework to convert from DateTime.MinValue to 1753-01-01 when saving entities and convert back to DateTime.MinValue when fetching them?

Edit: I do not want to use DateTime? (nullable value type)