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
When using Entity framework code first, declare it like this:
public Nullable LastLogin { get; set; }