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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework