ConventionSet.Add(IConvention) 方法

定义

将约定添加到集。

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)

参数

convention
IConvention

要添加的约定。

适用于