OneToManyCascadeDeleteConvention.Apply Method (AssociationType, DbModel)

 

Applies this convention to an item in the model.

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

public virtual void Apply(
	AssociationType item,
	DbModel model
)

Parameters

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

The item to apply the convention to.

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

The database model.