In Mono 2.4.2p2, in ParameterizedQuery.cs
method
private object NormalizeDbType(object value)
{
System.Data.Linq.Binary b = value as System.Data.Linq.Binary;
if (b != null)
return b.ToArray();
return value;
}
causes exception below.
How to fix this ? Is it possible to change dbLinq so that this works in
Mono?
Andrus.
System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. ---> System.NotImplementedException: The
requested feature is not implemented.
at DbLinq.Data.Linq.Sugar.ParameterizedQuery.NormalizeDbType
(System.Object value) [0x00000]
at DbLinq.Data.Linq.Sugar.ParameterizedQuery.GetCommand () [0x00000]
at DbLinq.Data.Linq.Sugar.Implementation.QueryRunner.Upsert (System.Object
target, DbLinq.Data.Linq.Sugar.UpsertQuery insertQuery) [0x00000]
at DbLinq.Data.Linq.Sugar.Implementation.QueryRunner.Update (System.Object
target, DbLinq.Data.Linq.Sugar.UpsertQuery updateQuery, IList`1
modifiedMembers) [0x00000]
at DbLinq.Data.Linq.DataContext.UpdateEntity (System.Object entity,
DbLinq.Data.Linq.Sugar.QueryContext queryContext) [0x00000]
at DbLinq.Data.Linq.DataContext.SubmitChanges (ConflictMode failureMode)
[0x00000]
at DbLinq.Data.Linq.DataContext.SubmitChanges () [0x00000]
...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"DbLinq" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dblinq?hl=en
-~----------~----~----~----~------~----~------~--~---