Hello:
> Insert error using .net provider W/ 1.5rc6
>
> I'm operating under Windows XP using C# along with the Firebird .net
1.5 beta 1 provider. I'm currently just testing to determine suitability
for some projects. I'm trying to create some tables, and insert data
into them.
>
> I get an error "Unable to complete network request to host
\"localhost\"".
>
> It usually occurs after inserting a couple thousand rows. If I debug,
and breakpoint at several points, it doesn't seem to occur.
>
> Do I need to wrap all commands in a "transaction"? For this test I
was using the ExecuteNonQuery method of the Command object, but without
a transaction.
In first place no, can you send a test case ??,
The only thing that you need to have in mind when using implicit
transactions is that the transaction is not committed until the command
is disposed.
I will try to make a test using the AS3AP test suite tomorrow ( this can
do a variable number of inserts and i can modify it for use implicit
transactions ).
--
Best regards
Carlos Guzmán Álvarez
Vigo-Spain
|