EF and DateTimeOffset

Jul 5 2011 11:38 AM
Hi experts,

I'm using EF 4.1. I have generated the model from database.
In few tables, I'm having datetimeoffset datatype values and it is automatically mapped with datetimeoffset datatype. But the problem, when I'm running any query against this, i'm gettiing the following error.


" There is no store type corresponding to the conceptual side type 'Edm.DateTimeOffset(Nullable=True,DefaultValue=,Precision=)' of PrimitiveType 'DateTimeOffset'. "

Please help me.

Answers (1)