Incorrect SQL generated when 2 or more columns should be returned on update
---------------------------------------------------------------------------

                 Key: DNET-850
                 URL: http://tracker.firebirdsql.org/browse/DNET-850
             Project: .NET Data provider
          Issue Type: Bug
          Components: Entity Framework Core
    Affects Versions: 6.3.0.0
            Reporter: Georgi Panayotov
            Assignee: Jiri Cincura


When I have 2 or more columns that are calculated and they should be returned 
on update then wrong SQL is generated. I found this on 
https://github.com/ralmsdeveloper/EntityFrameworkCore.FirebirdSQL ,  but as I 
see the code this should appear here too.
The generated code is like:
...
RETURNING COLUMN1 INTO :COLUMN1, COLUMN2 INTO :COLUMN2
...

but it should be:
RETURNING COLUMN1, COLUMN2 INTO :COLUMN1, :COLUMN2

I've created a fork to try to fix the issue - the commit is:
https://github.com/gpanayotov/FirebirdSql.Data.FirebirdClient/commit/17e3255d32a9ca573b7e21d8fb6314a4d98b510c

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to