Cannot use "RAW(2000)" type value in "Guid" type argument

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
tanyuqiang
Posts: 1
Joined: Tue 05 May 2009 11:12

Cannot use "RAW(2000)" type value in "Guid" type argument

Post by tanyuqiang » Wed 06 May 2009 03:30

userid is my table's primary key, type is raw(16),in c# code,it is as the type of Guid,when i want to edit or detail a user info ,i get the following error:
Cannot use "RAW(2000)" type value in "Guid" type argument
23: public OraAspnetUser GetUser(Guid id)
24: {
25: return db.OraAspnetUsers.Single(d => d.Userid == id);
26: }
27: //

[NotSupportedException: Cannot use "RAW(2000)" type value in "Guid" type argument]
Devart.Data.Linq.Provider.Query.DbMethodCallConverter.CheckConversionToParameterType(SqlExpression argumentValue, Type parameterType) +279
Devart.Data.Linq.Provider.Query.DbMethodCallConverter.a(o A_0) +319
Devart.Data.Linq.Provider.Query.SqlVisitor.a(SqlNode A_0) +1057
Devart.Data.Linq.Provider.Query.SqlVisitor.c(SqlExpression A_0) +8
Devart.Data.Linq.Provider.Query.SqlVisitor.e(bo A_0) +49
Devart.Data.Linq.Provider.Query.DbMethodCallConverter.a(bo A_0) +215
Devart.Data.Linq.Provider.Query.SqlVisitor.a(ax A_0) +64)

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Wed 06 May 2009 11:17

Thank you for the report, we have reproduced the problem.
I will let you know about the results of our investigation.

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Thu 07 May 2009 12:24

Thanks for your help, we have fixed the problem. Look forward to the next build.

yosel
Posts: 7
Joined: Fri 20 Mar 2009 15:56

Post by yosel » Tue 12 May 2009 15:32

Hi,
I am having the same issue, when do you think the next build will be released?...

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Wed 13 May 2009 11:05

We plan to release the next build in a week or so.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Fri 22 May 2009 15:57

The new build of dotConnect for Oracle 5.20.33 is available for download now.
It can be downloaded from http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to http://www.devart.com/forums/viewtopic.php?t=14909 .

Post Reply