开发者

Problem in GetRuleViolations method in NerdDinner tutotial

开发者 https://www.devze.com 2023-01-16 09:59 出处:网络
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,

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号