Solving “The ObjectContext instance has been disposed and can no longer be used for operations that require a connection” InvalidOperationException
By default Entity Framework uses lazy-loading for navigation properties. That’s why these properties should be marked as virtual – EF creates proxy class for your entity and overrides navigation properties to allow lazy-loading. E.g. if you have this entity: public class MemberLoan { public string LoandProviderCode { get; set; } public virtual Membership Membership { … Read more