I created the model in edm-designer (VS10), using the "DbContext Object Generator" as a generation element.
In the generated DbContext subclass, it overrides the constructor, so I cannot use it in another partial class:
public EntitiesContainer() : base("name=EntitiesContainer") { this.Configuration.LazyLoadingEnabled = false; }
What is the correct way to initialize a database with the first model?
source share