ConventionSet.Add(IConvention) Method

Definition

Adds a convention to the set.

public virtual void Add (Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention convention);
abstract member Add : Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention -> unit
override this.Add : Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention -> unit
Public Overridable Sub Add (convention As IConvention)

Parameters

convention
IConvention

The convention to add.

Applies to