Begin of SQL Server connection object implementation