May 20, 2009 at 1:41 AM
Edited May 20, 2009 at 4:03 AM
Edit: Nothing to see here, Move along now... User error responsible for below question.
I have another newbie question.
If I follow the directions in Chapter 1 (up to pg33) in building the application, I get stuck trying to complete the DinnerRepository.cs file. I must be missing an unlisted step.
The problem is that the RSVPs collection is not recognized because the LINQ2SQL class generator doesn't generate the classes properly. For the Dinner class, it doesn't create
_RSVPs; as part of the Dinner class, nore does it add
to the Dinner constructor. It also fails to add:
It also fails to add similar lines to the RSVPs class.
Is there something I'm missing about configuration of the LINQ2SQL tool. Otherwise everything else is the same. Obviously I'd rather not add these lines manual in case I want to regenerate the classes again.
Microsoft Visual Studio 2008 Version 9.0.30729.1 SP
Microsoft .NET Framework Version 3.5 SP1 Installed Edition: Professional
My LINQtoSQL class generator tool is:
where the version from the codeplex source is generated by: