Hi Carlos, I don't know whether this is part of the standard and how the SqlCommand behave in this context.
Anyway: FbConnection connection = new FbConnection(cs); connection.Open; FbTransaction transaction = connection.BeginTransaction(); FbCommand command = new FbCommand(); command.Transaction = transaction; Assert.AreSame(command.Connection, transaction.Connection); since there is no possibility for command to have Connection and Transaction that have different Connection, I believe that setting the transaction property of the FbCommand should set the connection as well. CUIN Kaczy ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Firebird-net-provider mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
