Using LinqSql, stored procedure returns datatype image problem
Posted
by Elias
on Stack Overflow
See other posts from Stack Overflow
or by Elias
Published on 2010-02-10T19:21:52Z
Indexed on
2010/05/09
20:28 UTC
Read the original article
Hit count: 263
LINQ
|stored-procedures
Hello! I´ve got a problem when using LINQ to execute a stored procedure and return its values. One of the column that the stored procedure returns is of datatype image and contains a pdf in binary form.(this because the database is deployed on sql server 2000, otherwised i would choose a blob)
When including the stored procedure in my linq class its generates that my pdf columns is datatype int in the designer class.
I´ve work around the problem and manually changed the datatype in representation of the stored procedure in the designer class. But when adding/removing items in the linq class the designer file re-generates and my changes are lost.
Are there any better solution for my problem??
© Stack Overflow or respective owner