This project is read-only.

Updating a driver for a table with payload

Topics: Writing modules
Jun 24, 2013 at 6:17 AM
I am new to Orchard and have gone through the advanced pluralsight course (which I thought was great). I have built the movie module but I wanted to add a field for the actor's character name in a given movie. I decided this would fit on the MovieActorRecord so it becomes
public class MovieActorRecord {
    public virtual int Id { get; set; }
    public virtual MoviePartRecord MoviePartRecord { get; set; }
    public virtual ActorRecord ActorRecord { get; set; } 
    public virtual string CharacterName { get; set; } }
I also added "CharacterName" to the MovieEditViewModel file. I'm unsure how to wire it all together in the MoviePartDriver when I'm building that viewmodel.
Can anyone help me through this?
Jun 26, 2013 at 3:43 AM
Didn't you already ask that question on StackOverflow?