From 281955949910eb257b5f7e42e54535ba7812418e Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sun, 14 Sep 2008 13:23:02 +0000 Subject: Mantis #2124 Thank you, RuudL, for a patch that brings MSSQL up to the same implementation level as MySQL. --- OpenSim/Data/MSSQL/AutoClosingSqlCommand.cs | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'OpenSim/Data/MSSQL/AutoClosingSqlCommand.cs') diff --git a/OpenSim/Data/MSSQL/AutoClosingSqlCommand.cs b/OpenSim/Data/MSSQL/AutoClosingSqlCommand.cs index cae864b..9211747 100644 --- a/OpenSim/Data/MSSQL/AutoClosingSqlCommand.cs +++ b/OpenSim/Data/MSSQL/AutoClosingSqlCommand.cs @@ -25,9 +25,6 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -using System; -using System.Collections.Generic; -using System.Text; using System.Data.SqlClient; using System.Data; @@ -163,16 +160,22 @@ namespace OpenSim.Data.MSSQL realCommand.Prepare(); } - IDbTransaction IDbCommand.Transaction +// IDbTransaction IDbCommand.Transaction +// { +// get +// { +// return realCommand.Transaction; +// } +// set +// { +// realCommand.Transaction = (SqlTransaction) value; +// } +// } + + public IDbTransaction Transaction { - get - { - return realCommand.Transaction; - } - set - { - realCommand.Transaction = (SqlTransaction) value; - } + get { return realCommand.Transaction; } + set { realCommand.Transaction = (SqlTransaction)value; } } UpdateRowSource IDbCommand.UpdatedRowSource -- cgit v1.1