Right, I've done some more investigating and have come up with some interesting results.
First off, it doesn't look like LLBLGen is the problem at all, but I thought you might be interested in my findings nonetheless.
At the same time I upgraded to the latest llblgen beta I also upgraded to the latest CTP of Microsoft's new ASP.NET MVC framework. I'm not sure how familiar you are with ASP.NET MVC, but in order to pass data from the controllers to the views you'd use the ViewData dictionary like so:
public class MyController : Controller {
private IStudentRepository students = new StudentRepository();
public ActionResult Index() {
ViewData["someData"] = students.FindAll();
return RenderView();
}
}
It appears to be that anything put into the ViewData dictionary seems to live forever. Clearing the ViewData dictionary in the controller's dispose method seems to relieve the issue.
Thats what I get for using beta software
I'll release a new version of my application later today and fingers crossed the problem will go away