locked
'The property 'SomeField' on type 'SomeEntity' is of type 'Time' which is not a supported primitive type.' RRS feed

  • Question

  • I got above message when I have a 'WCF Data Service' on EF4.0

    'Time' is a simple type, see http://msdn.microsoft.com/en-us/library/bb399213.aspx

    So what is the problem?

    Someone mentioned to use timespan as a type, but in EF4.0 I cannot select 'timespan' as a type, only 'time'

    How can I solve this?

    Thanks

    Wednesday, August 4, 2010 3:47 PM

Answers