I have a subclass in a different assembly to its base class. The parent is a POCO class used for EF Code First.
When I try to add an instance of inherited class to t
I know this post is a bit old, but I was able to accomplish this using @Dave's recomendation inside the constructor:
public Context() { ((IObjectContextAdapter)this).ObjectContext.MetadataWorkspace.LoadFromAssembly( System.Reflection.Assembly.GetAssembly( typeof(--[Inherited DbContext]--))); }