I got it working by hacking the provider:
class PgsqlSqlProvider : SqlProvider
{
public override SqlStatement GetInsertIds(IList<SqlStatement>
outputParameters, IList<SqlStatement> outputExpressions)
{
...
ids.Add(outputExpression.Replace("nextval", "currval", true));
...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---