Getting this error:
System.Data.SqlClient.SqlException : The conversion of a datetime2 data type to a datetime data type resulted in an out-of-range v
Simple. On your code first, set the type of DateTime to DateTime?. So you can work with nullable DateTime type in database.