ForeignKeyDiscoveryConvention.Apply(AssociationType, DbModel) Method

Definition

Applies this convention to an item in the model.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
public virtual void Apply (System.Data.Entity.Core.Metadata.Edm.AssociationType item, System.Data.Entity.Infrastructure.DbModel model);
abstract member Apply : System.Data.Entity.Core.Metadata.Edm.AssociationType * System.Data.Entity.Infrastructure.DbModel -> unit
override this.Apply : System.Data.Entity.Core.Metadata.Edm.AssociationType * System.Data.Entity.Infrastructure.DbModel -> unit
Public Overridable Sub Apply (item As AssociationType, model As DbModel)

Parameters

item
AssociationType

The item to apply the convention to.

model
DbModel

The model.

Implements

Attributes

Applies to