[ping] Marc Gravell.

  • Thread starter Thread starter Michael Starberg
  • Start date Start date
M

Michael Starberg

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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top