Entity framework handles all the dates as a Datetime2, so, if your fields in the database are Datetime, this could be a problem.
We had the same problem here, and from what we found, populating all the date fields and changing the datatype, are the most commom solutions
More Related Contents:
- summing values of a column based on id [closed]
- MSSQL Error ‘The underlying provider failed on Open’
- Conversion of a datetime2 data type to a datetime data type results out-of-range value
- Adding multiple parameterized variables to a database in c#
- Getting data from stored procedure with Entity Framework
- Entity framework very slow to load for first time after every compilation
- How to connect to database from Unity
- Writing Recursive CTE using Entity Framework Fluent syntax or Inline syntax
- How can I lock a table on read, using Entity Framework?
- Entity Framework 6 GUID as primary key: Cannot insert the value NULL into column ‘Id’, table ‘FileStore’; column does not allow nulls
- SQL WHERE clause matching values with trailing spaces
- Mapping composite keys using EF code first
- SqlDataSourceEnumerator.Instance.GetDataSources() does not locate local SQL server 2008 instance
- SqlParameter does not allows Table name – other options without sql injection attack?
- EF 6 – How to correctly perform parallel queries
- Entity-framework code is slow when using Include() many times
- Delete a single record from Entity Framework?
- Optimistic concurrency: IsConcurrencyToken and RowVersion
- get date part only from datetime value using entity framework
- Entity Framework 6 transaction rollback
- The LINQ expression could not be translated and will be evaluated locally
- Dynamic query with OR conditions in Entity Framework
- Entity Framework | Sequence contains more than one matching element
- Keyword Not Supported: Metadata
- Why is EF generating SQL queries with unnecessary null-checks?
- How to Specify Primary Key Name in EF-Code-First
- How to Identify the primary key duplication from a SQL Server 2008 error code?
- Should the order of LINQ query clauses affect Entity Framework performance?
- Watch for a table new records in sql database
- Bulk-deleting in LINQ to Entities