[ping] Marc Gravell.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Michael Starberg

    [ping] Marc Gravell.

    Happy easter.

    Just wanted to tell you that this tuesday I got a weird exception, stemming
    from NOT disposing a DataContext.
    So like Bill Maher we just added New Rules in our project. Always using
    using on a DataContext.

    I of course wrote a snippet that when typing db and tab it you get

    using(var db = new Database())
    {

    }

    Just wanted you to know that I can learn from my mistakes and that you were
    correct all along.

    Love Ya
    - Michael Starberg



  • Marc Gravell

    #2
    Re: Marc Gravell.

    Cheers for feeding back ;-p

    This is the first such I've heard of; I ten to simply use "using"
    almost as rote on IDisposable.

    Anyway - hope if works now,

    Marc

    Comment

    Working...