I\'m having an issue with EF6 lazy loading. I\'ve searched StackOverflow, but the other questions I\'ve found doesn\'t fit my case.
I\'m using the virtual
Entities must have explicitly declared public constructors if you want to use lazy loading via dynamic proxies. (If you have other with parameters)
public abstract class BaseModel : ISoftDelete {
public BaseModel() { }
public int id { get; set; }
}
public class Course : BaseModel {
public Course() { }
[Required]
public int presentationId { get; set; }
public virtual Presentation presentation { get; set; }
}