.net - Error 2019 when trying to build in C# -


someone wrote program few years ago , have modify it. while trying build code using .net 4.5 message:

error 2019: member mapping specified not valid. type  'edm.datetime[nullable=false,defaultvalue=,precision=]' of member  'srvc_evnt_end_tm' in type 'simmodel.str_srvc_evnt' not compatible  'db2.time[nullable=false,defaultvalue=,precision=0]' of member  'srvc_evnt_end_tm' in type 'simmodel.store.str_srvc_evnt'.  c:\users\ponthcm\documents\visual studio 2013\applications\sim.entity\simmodel.edmx 5299 13 sim.entity 

i talked programmer wrote , difference come while setting project using entity framework 4 , have entity framework 5 currently.

besides other possible problem can see is trying put datetime time because of size difference. insight appreciated.

the problem ibm dataserver client addin vs2010 version 10.5 , code written in version 9.5. after addin uninstalled , installed using 9.5 errors went away.


Comments

Popular posts from this blog

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -