Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Possible bug with SqlCommandBuilder.DeriveParameters
Message
De
08/09/2003 16:59:45
 
 
À
04/09/2003 23:43:28
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
00826277
Message ID:
00827285
Vues:
20
Keith,

I've been out of town, or I would've replied sooner. In addition to Cathi's suggestion (to do the DeriveParameters prior to starting the transaction), another option is to do the DeriveParameters under it's own connection. This is the way I did my workaround when I ran into this, because doing it prior to starting the transaction was not feasible in the scenario I was working under.

Don't feel bad, I pulled my hair out for awhile myself trying to find a workaround. I'm assuming you found a workaround yourself, as you don't seem to be asking a question, just pointing out the problem ...

~~Bonnie



>It seems that SqlCommandBuilder.DeriveParameters will not participate in a transaction when the SqlCommand that it uses has a transaction assigned to it.
>
>This can be a real PITA to track down when combined with the Data Application Block's parameter caching. I pulled my hair out for two days isolating this sucker.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform