Getting Error Specified cast is not valid in Materializer
Posted: Wed 07 Oct 2009 14:15
Hi,
I am working on Materializer while mapping result of Stored procedure through it's giving me Error
Specified cast is not valid
during debuging I observed that reader is giving field type as Double but while generating entity frame work it's giving Data Type value as Long so might be this is the cause of problem.
Can any one suggest me how to resolve this error
I am having column field in Oracle as
OrderID number(10)
in Entity Framework generate code it's having Long
Thanks,
Abhinay.
I am working on Materializer while mapping result of Stored procedure through it's giving me Error
Specified cast is not valid
during debuging I observed that reader is giving field type as Double but while generating entity frame work it's giving Data Type value as Long so might be this is the cause of problem.
Can any one suggest me how to resolve this error
I am having column field in Oracle as
OrderID number(10)
in Entity Framework generate code it's having Long
Thanks,
Abhinay.