Custom type with a ViewModel how can I use BodyPart!

Topics: Customizing Orchard, Writing modules
May 28, 2012 at 2:55 PM

Hi guys,
I made a custom ViewModel but I would like to add a "BodyPart" or something like that.

Can I do that?
If yes, how can I do?

Tnx 

Developer
May 28, 2012 at 3:25 PM

You cannot actually add a BodyPart to a ViewModel or any class for that matter. What is that you want to achieve?

Developer
May 28, 2012 at 3:26 PM
Edited May 28, 2012 at 3:26 PM
sfmskywalker wrote:

You cannot actually add a BodyPart to a ViewModel or any class for that matter. What is that you want to achieve?


Unless of course you add a property of type BodyPart to your view model.

May 28, 2012 at 4:00 PM

I would like to do this: http://orchard.codeplex.com/discussions/357145

I had do some changes.

Now when I try to save the data I receive a 

Your Team Member has been created.

Not found

The page you are looking for does not exist.

But I have not data in the join table either in the teammember table... :'(