I'm relatively new to SharePoint 2010 development and I recently rediscovered the DataContext class. Of particular interest right now is the GetList method. I've seen examples and sample code around the Interwebs about how to use it, but most of the time it is used with Lists, List items, and the like.
Unfortunately, I'm working with a Library at the moment, not a List. Can GetList also work with Libraries as well as Lists? If not, is there a similar way to update individual items in a Library from an InfoPath 2010 form code behind in C#?
Thank you all in advance for help and advice!