Hi everyone. I was wondering if I could get some help on something. I'm currently enrolled in a for-credit online ASP.NET 3.5/C# course. Unfortunately, the professor is largely absent, so I've been forced to learn everything on my own without any guidance from above. My only homework assignment is the final project, which, essentially, is to create a full web app using ASP.NET 3.5 and C#. In my 'infinite' wisdom, I decided to create a simple role-playing game, as I figured it'd force me to really sink my teeth into OOP and the various ASP controls. I figured I might as well get what I payed for.
My biggest issue at the moment is figuring out how to save/retrieve player character info from the database. Each PlayerCharacter object contains lists of other objects that represent that character's inventory (most items are, in fact, decorators of simpler objects) and their currently available special attacks. I've heard from others that I should probably use LINQ for this, but I'm at a bit of a loss as to how I'd actually go about it. Unfortunately, the text for this course is rather lacking. We're using the Professional ASP.NET 3.5 in VB and C# book by Wrox Publishing. It's about the size of a large phone book, but is lacking when it comes to giving relevant code examples. So its chapter on LINQ is pretty weak. Any help/advice would be greatly appreciated, even if it's just a nudge to a good tutorial site. Let me know if I need to post the relevant code.
