jonpryor / dblinq2007

Automatically exported from code.google.com/p/dblinq2007
0 stars 0 forks source link

Dispose() method on DataContext not implemented (or not implemented properly) #254

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

IEnumerable<Person> people;
using (var context = new TestDataContext())
{
    people = context.Person;
}
foreach (Person p in people)
{
    Console.WriteLine(p.ID); // doesn't throw exception but it should
}

What is the expected output? What do you see instead?

Should get an exception.

What version of the product are you using? On what operating system?

Latest version of DbLinq. Visual Studio 2008. Window XP.

Please provide any additional information below.

Original issue reported on code.google.com by danspama...@gmail.com on 17 May 2010 at 8:53