Another little bug (I think) with SPMetal (SharePoint 2010 Beta 2)..
I seems that Task lists are created of type “Microsoft.SharePoint.Linq.EntityList<Item>” instead of “Microsoft.SharePoint.Linq.EntityList<Task>”.
It’s kind of funny considering that it already generates the “Task” class perfectly, but doesn’t use it anywhere.
I solved this by manually fixing the code.
That is – Locating the Tasks list property, and changing the generic type to Task, and all of it’s dependencies.
