Problem in GetRuleViolations method in NerdDinner tutotial
I'm on about page 70 of the NerdDinner tutor开发者_Python百科ial (MVC 1.0 version). It won't build at this point because it is saying the properties referred to in the GetRuleViolations (ie, Title, Description, etc) can't be resolved. I've compared my own project with the downloadable source code and can't figure out what is missing. The error VS 2008 is giving me is "The name 'Title' does not exist in the current context". I can see the declarations in the NerDinner.designer.cs file.
Did you make sure to import the namespace of the model type?
精彩评论