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)
Cannot use "RAW(2000)" type value in "Guid" type argument
-
- Posts: 1
- Joined: Tue 05 May 2009 11:12
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 .
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 .