MediaPart is an unmapped to NHibernate

Topics: Customizing Orchard, Troubleshooting, Writing modules
May 16, 2014 at 5:23 AM
I have the following Model, along with the associated record and driver.
public class SlideShow : ContentPart<SlideShowRecord> {
    public IEnumerable<MediaPart> MediaParts
    {
        get { return Record.MediaParts; }
        set { Record.MediaParts = value; }
    }
    public bool Automatic {
        get { return Record.Automatic; }
        set { Record.Automatic = value; }
    }
    public bool Loop {
        get { return Record.Loop; }
        set { Record.Loop = value; }
    }
    public int Delay {
        get { return Record.Delay; }
        set { Record.Delay = value; }
    }
}
However when I try to run the site with the module enabled I get the following error in my log
2014-05-16 00:04:21,296 [9] Orchard.Environment.DefaultOrchardHost - (null) - A tenant could not be started: Default
(null)
NHibernate.MappingException: Association references unmapped class: Orchard.MediaLibrary.Models.MediaPart

Attempting to run commands in the orchard console gives the same error.