Adding new entity to database via web api OData service keeps giving me the following error. "Cannot convert a primitive value to the expected type 'Edm.DateTime'. See the inner exception for more details." I googled a bit and found out that it's related to OData not supporting DateTime type. I am using EF with database first approach and some of the entities have properties which are of DateTime Type.
Any suggestion for the issue?
Thanks. Nyi