in

Drowning In Technical Debt

C# | ASP.NET | SharePoint | SQL | Architecture | SOA |

Browse by Tags

  • use CommandBehavior.CloseConnection even with usings

    Recently I put together a SQL talk for developers and gave it at our local JAXDUG meeting. It went over well and one of the items I covered was utilizing CommandBehavior.CloseConnection with the command being used. While the implicit finally created by the using connection below will close the connection...
    Posted to roy ashbrook (Weblog) by royashbrook on 07-10-2007
  • command cancel vs close

    There are a ton of articles about using command cancel vs close when you are using a datareader. The idea is that it will make things faster if you cancel the command rather than just closing it if you have an occasion to interrupt the execution. If you don’t cancel, it seems that it will read the rest...
    Posted to roy ashbrook (Weblog) by royashbrook on 05-03-2007
Page 1 of 1 (2 items)
Community Credit
Powered by Community Server (Commercial Edition), by Telligent Systems