"Member Mapping specified is not valid" error when saving to a database with Entity Framework
<p>The full error message is below:</p>

<blockquote>
  <p>(46,12) : error 2019: Member Mapping specified is not valid. The type
  'Edm.String[Nullable=True,DefaultValue=,MaxLength=Max,Unicode=True,FixedLength=False]'
  of member 'SEJ_STARDATE' in type 'HotelSearch.APP_SEJOUR' is not
  compatible with
  'SqlServer.date[Nullable=True,DefaultValue=,Precision=0]' of member
  'SEJ_STARDATE' in type 'CodeFirstDatabaseSchema.APP_SEJOUR'. (47,12) :
  error 2019: Member Mapping specified is not valid. The type
  'Edm.String[Nullable=True,DefaultValue=,MaxLength=Max,Unicode=True,FixedLength=False]'
  of member 'SEJ_ENDDATE' in type 'HotelSearch.APP_SEJOUR' is not
  compatible with
  'SqlServer.date[Nullable=True,DefaultValue=,Precision=0]' of member
  'SEJ_ENDDATE' in type 'CodeFirstDatabaseSchema.APP_SEJOUR'. (112,12) :
  error 2019: Member Mapping specified is not valid. The type
  'Edm.String[Nullable=True,DefaultValue=,MaxLength=Max,Unicode=True,FixedLength=False]'
  of member 'PRIX_PRICE' in type 'HotelSearch.RFS_PRIX_R' is not
  compatible with
  'SqlServer.date[Nullable=True,DefaultValue=,Precision=0]' of member
  'PRIX_PRICE' in type 'CodeFirstDatabaseSchema.RFS_PRIX_R'.</p>
</blockquote>

<p>The code is below:</p>

<pre><code>var h = new Hotel();

var t = new APP_STAR {
            STA_IDSTAR = 11111,
            STA_STARRATING = "blah",
         };
h.APP_STAR.Add(t);
h.SaveChanges();
</code></pre>

<p>Obviously this is just dummy data for testing. Can anyone point me in the right direction as to how to fix this error?</p>