共用方式為


IConventionSetPlugin.ModifyConventions(ConventionSet) 方法

定義

呼叫 以自訂或修改指定的慣例集。

public Microsoft.EntityFrameworkCore.Metadata.Conventions.ConventionSet ModifyConventions (Microsoft.EntityFrameworkCore.Metadata.Conventions.ConventionSet conventionSet);
abstract member ModifyConventions : Microsoft.EntityFrameworkCore.Metadata.Conventions.ConventionSet -> Microsoft.EntityFrameworkCore.Metadata.Conventions.ConventionSet
Public Function ModifyConventions (conventionSet As ConventionSet) As ConventionSet

參數

conventionSet
ConventionSet

設定為自訂的慣例。

傳回

自訂慣例集。

適用於