On Sun, 2010-02-21 at 07:25 -0800, Erickson wrote:
> public override SqlStatement GetInsertIds(SqlStatement table,
> IList<SqlStatement> autoPKColumn, IList<SqlStatement> inputPKColumns,
> IList<SqlStatement> inputPKValues, IList<SqlStatement> outputColumns,
> IList<SqlStatement> outputParameters, IList<SqlStatement>
> outputExpressions)
>     {
>         // no parameters? no need to get them back
>         if (outputParameters.Count == 0)
>             return "";
>         // otherwise we keep track of the new values
>         return SqlStatement.Format("SELECT {0} INTO {1} FROM DUAL",
>             SqlStatement.Join(", ", (from outputExpression in
> outputExpressions select outputExpression.Replace(".NextVal",
> ".CurrVal", true)).ToArray()),
>             SqlStatement.Join(", ", outputParameters.ToArray()));
>     }
> 
> auto increment isn't working, found this line, there is no dual table
> in firebird right? i think this is copied from oracle

Could be.  There are no currently active Firebird+DbLinq maintainers, so
the code may have bitrotten (assuming it ever worked in the first
place).

You want the job? :-)

 - Jon


-- 
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.

Reply via email to