AcceptChangesDuringUpdate was only the second problem.

I have attached a zip file containing two similar projects. One using
SqlProvider and oane using FbProvider. The test for SqlProvider pass while
the test for FbProvider fail. I think method Update of FbDataAdapter should
do:

      if (statementType == StatementType.Insert)
     {
        row.AcceptChanges();
      }
      /* 4. If the command is set to FirstReturnedRecord, then the
       * first returned result is placed in the DataRow.
       *
       * We have nothing to do in this case as there are no
       * support for batch commands.
       */



----- Original Message ----- 
From: "Carlos Guzmán Álvarez" <[EMAIL PROTECTED]>
To: "For users and developers of the Firebird .NET providers"
<[email protected]>
Sent: Monday, November 13, 2006 9:12 PM
Subject: Re: [Firebird-net-provider] FbDataAdapter problem


> Hello:
>> Why don't you use DbDataAdapter implementation for protected virtual int
>> Update(DataRow[] dataRows, DataTableMapping
>> tableMapping) method ?
> Becasuse there are some specials things on stored procedure handling in
> the provider ( if i remember well that was the reason )
>> But in fact after step 3 it executes AcceptChanges if the row is
>> inserted.
> Try using the latest CVS sources, that has changes to honor the
> AcceptChangesDuringUpdate property value.
>
> -- 
> Carlos Guzmán Álvarez
> Vigo-Spain
>
> http://carlosga.wordpress.com
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Firebird-net-provider mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/firebird-net-provider


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to