Re: [Firebird-net-provider] FbDataAdapter problem

2007-04-12 Thread Carlos Guzmán Álvarez
Hello: > I doesn't work > You should put this lines in FbDataAdapter.cs If i'm not wrong that is exactly what has been added to the 2.x sources - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Tec

Re: [Firebird-net-provider] FbDataAdapter problem

2007-04-12 Thread mn
mands. */ - Original Message - From: "Carlos Guzmán Álvarez" <[EMAIL PROTECTED]> To: "For users and developers of the Firebird .NET providers" <[EMAIL PROTECTED]> Sent: Saturday, January 27, 2007 12:55 PM Subject: Re: [Firebird-net-provider] FbDataAdapter pro

Re: [Firebird-net-provider] FbDataAdapter problem

2007-01-27 Thread Carlos Guzmán Álvarez
Hello: > The important part is that AcceptChanges() is called BEFORE first returned > row is placed in DataRow and BEFORE any output params returned are placed in > DataRow. Could you check the latest svn sources, and let me know if the change if correct please ?? -- Carlos Guzmán Álvarez Vigo

Re: [Firebird-net-provider] FbDataAdapter problem

2007-01-23 Thread mn
of the Firebird .NET providers" Sent: Wednesday, January 24, 2007 12:01 AM Subject: Re: [Firebird-net-provider] FbDataAdapter problem > Hello: >> There are no ExecuteReader calls in the Update imeplementation. >> > It could be our ExecuteNonQuery call .. i will review it t

Re: [Firebird-net-provider] FbDataAdapter problem

2007-01-23 Thread Carlos Guzmán Álvarez
Hello: > There are no ExecuteReader calls in the Update imeplementation. > It could be our ExecuteNonQuery call .. i will review it tomorrow -- Carlos Guzmán Álvarez Vigo-Spain http://carlosga.wordpress.com - Take Sur

Re: [Firebird-net-provider] FbDataAdapter problem

2007-01-23 Thread Carlos Guzmán Álvarez
Hello: > *Zlatko Michailov - MSFT confirmed explicitly that* > AcceptChanges() is called right after ExecuteReader() for added rows, > before the first returned row is placed in DataRow. There are no ExecuteReader calls in the Update imeplementation. > -- Carlos Guzmán Álvarez Vigo-Spain htt

[Firebird-net-provider] FbDataAdapter problem

2007-01-22 Thread mn
Zlatko Michailov - MSFT confirmed explicitly that AcceptChanges() is called right after ExecuteReader() for added rows, before the first returned row is placed in DataRow. See it at: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=933212&SiteID=1 Please update DbDataAdapter.Update(DataRow

Re: [Firebird-net-provider] FbDataAdapter problem

2006-12-17 Thread mn
: "For users and developers of the Firebird .NET providers" Sent: Saturday, November 18, 2006 5:21 PM Subject: Re: [Firebird-net-provider] FbDataAdapter problem Hello: What I do not understand is why you don't provide the same functionality if you can, why don't you use Mic

Re: [Firebird-net-provider] FbDataAdapter problem

2006-11-18 Thread Carlos Guzmán Álvarez
Hello: > > What I do not understand is why you don't provide the same > functionality if you can, why don't you use Microsoft default > implementation (I ask this but I get an answer that did not convince > me at all). > I have given you the answer yet, but i will retry, the ms implementation d

[Firebird-net-provider] FbDataAdapter problem

2006-11-18 Thread Mihai Negulescu
My problem: I have .NET 2.0 application that is installed in many places. The application uses SQL Server and of course Microsoft SQL Provider. I want to support Firebird Database in my application. But, because you choose not to use provided DbDataAdapter.Update implementation for FbDataAdapter

Re: [Firebird-net-provider] FbDataAdapter problem

2006-11-17 Thread Miroslav Hrázský
Maybe I don't understand your problem exactly but using GUIDs instead of generators simplifies inserting new rows into tables with only ID PK, and many other things. We have firebird database full of generators (8 years old decision) and I have dreams about starting from scratch. -

Re: [Firebird-net-provider] FbDataAdapter problem

2006-11-16 Thread mn
uzmán Álvarez" <[EMAIL PROTECTED]> To: "For users and developers of the Firebird .NET providers" Sent: Thursday, November 16, 2006 9:09 PM Subject: Re: [Firebird-net-provider] FbDataAdapter problem > Hello: >> if (statementType == StatementType.Insert) >

Re: [Firebird-net-provider] FbDataAdapter problem

2006-11-16 Thread mn
t; To: "For users and developers of the Firebird .NET providers" Sent: Thursday, November 16, 2006 9:09 PM Subject: Re: [Firebird-net-provider] FbDataAdapter problem > Hello: >> if (statementType == StatementType.Insert) >> { >> row.AcceptChang

Re: [Firebird-net-provider] FbDataAdapter problem

2006-11-16 Thread Carlos Guzmán Álvarez
Hello: > if (statementType == StatementType.Insert) > { > row.AcceptChanges(); > } I'm not going to do this unless there are any good argument for doing it only for inserts. -- Carlos Guzmán Álvarez Vigo-Spain http://carlosga.wordpress.com ---

Re: [Firebird-net-provider] FbDataAdapter problem

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

Re: [Firebird-net-provider] FbDataAdapter problem

2006-11-13 Thread Carlos Guzmán Álvarez
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 af

Re: [Firebird-net-provider] FbDataAdapter problem

2006-11-12 Thread mn
ut in fact after step 3 it executes AcceptChanges if the row is inserted. - Original Message - From: "Carlos Guzmán Álvarez" <[EMAIL PROTECTED]> To: "For users and developers of the Firebird .NET providers" Sent: Wednesday, November 08, 2006 4:18 PM Subj

Re: [Firebird-net-provider] FbDataAdapter problem

2006-11-09 Thread mn
rom: "Carlos Guzmán Álvarez" <[EMAIL PROTECTED]> To: "For users and developers of the Firebird .NET providers" Sent: Wednesday, November 08, 2006 3:58 PM Subject: Re: [Firebird-net-provider] FbDataAdapter problem > Hello: >> If command is an Insert F

Re: [Firebird-net-provider] FbDataAdapter problem

2006-11-08 Thread Carlos Guzmán Álvarez
Hello: Please, can you make a test using the CVS sources ?? -- 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 quic

Re: [Firebird-net-provider] FbDataAdapter problem

2006-11-08 Thread Carlos Guzmán Álvarez
Hello: > If command is an Insert FbDataAdapter should call row.AcceptChanges() > before UpdateParameterValues The update method is implemented following the steps explained in the microsoft docs, the AcceptChanges call gets done as the last step and thats is not going to change. > -- Car

Re: [Firebird-net-provider] FbDataAdapter problem

2006-11-06 Thread Carlos Guzmán Álvarez
Hello: > Regarding > http://sourceforge.net/mailarchive/forum.php?thread_id=30866705&forum_id=12591 > > > > the problem is in this method: > protected override int Update(DataRow[] dataRows, DataTableMapping > t

[Firebird-net-provider] FbDataAdapter problem

2006-11-05 Thread mn
Regarding http://sourceforge.net/mailarchive/forum.php?thread_id=30866705&forum_id=12591   the problem is in this method:  protected override int Update(DataRow[] dataRows, DataTableMapping tableMapping)   If command is an Insert FbDataAdapter should call row.AcceptChanges()  before UpdatePa