This is a migrated thread and some comments may be shown as answers.

ORM and MVC.net

1 Answer 96 Views
Integration with other products
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
regis
Top achievements
Rank 1
regis asked on 17 Mar 2010, 05:34 PM
Hi All,

I am trying to do the tutorial NerdDinner found on the MVC.net website using telerik ORM and telerik OpenAccess Domain Model.

I am having hard time creating the strong typed view as specified on the tutorial here as I don't have a NerdDinner.Models.Dinner available. I tryed looking at the MVC sample telerik provides but didn't manage to find a way to do apply what is there.

Is there a way to use the tool provided by VS2008 in order to scaffold stongly-typed views while dealing with telerik domain model.

 
thank for your help

1 Answer, 1 is accepted

Sort by
0
Accepted
Serge
Telerik team
answered on 18 Mar 2010, 11:19 AM
Hello Regis,

I assume you have created a new Domain Model and added the Dinner and RSVP tables. If you've used the default settings then the Dinner class is in the NerdDinner namespace, not the NerdDinner.Models. 

Another option is to create the Domain Model specifying a custom namespace, in this case NerdDinner.Models. Then the classes will be in the correct namespace.  There is however an issue with the validation, although you will be able to build the solution successfully you will get errors about an invalid namespace.

This will be fixed in the next release.
 
Greetings,
Serge
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Integration with other products
Asked by
regis
Top achievements
Rank 1
Answers by
Serge
Telerik team
Share this question
or