[Solved] “Member Mapping specified is not valid” error when saving to a database with Entity Framework


The error message is pretty clear:

The type 'Edm.String' of member 'SEJ_STARDATE' in type 'HotelSearch.APP_SEJOUR' is not compatible with 'SqlServer.date

Change edm.String to a recognizable datetime format (MM/DD/YYYY) by manipulating its contents or using DateTime.Parse

solved “Member Mapping specified is not valid” error when saving to a database with Entity Framework