ModelContainerConvention Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This DbModelBuilder convention uses the name of the derived DbContext class as the container for the conceptual model built by Code First.
public class ModelContainerConvention : System.Data.Entity.ModelConfiguration.Conventions.IConceptualModelConvention<System.Data.Entity.Core.Metadata.Edm.EntityContainer>
type ModelContainerConvention = class
interface IConceptualModelConvention<EntityContainer>
interface IConvention
Public Class ModelContainerConvention
Implements IConceptualModelConvention(Of EntityContainer)
- Inheritance
-
ModelContainerConvention
- Implements
Methods
Apply(EntityContainer, DbModel) |
Applies the convention to the given model. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework