Using the following code here
Sub FooSub
Dim db As New FooDataContext
Dim u = From p In db.FooTable Where p.FooColumn = FooData Select p
Do Stuff
End Sub
Do I have to manually create a class to map the data from my FooTable if I want it to persist in the application? If I declare u as a class-wide variable, then once SubFoo ends, I can no longer access the data in u