To best describe what I want to happen, i'll show what i'm doing, as to me it makes sense that this would work ...
public class foo()
{
    public foo()
    {
        MyContext db = new MyContext();
        foobar = db.foobar.first();
        this = Mapper.Map<bar, foo>(foobar);
    }
}
Basically, I want to use automapper within the destination class to map from the source class within the destination classes constructor.
Is there a way to do this?
 
     
    