ModelContainerConvention.Apply Method (EntityContainer, DbModel)

 

Applies the convention to the given model.

Namespace:   System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

public virtual void Apply(
	EntityContainer item,
	DbModel model
)

Parameters

item
Type: System.Data.Entity.Core.Metadata.Edm.EntityContainer

The container to apply the convention to.

model
Type: System.Data.Entity.Infrastructure.DbModel

The model.