共用方式為


SqlServerConventionSetBuilder.AddConventions(ConventionSet) 方法

定義

此 API 支援 Entity Framework Core 基礎結構,並不適合直接從您的程式碼使用。 此 API 可能會在未來的版本中變更或移除。

public override Microsoft.EntityFrameworkCore.Metadata.Conventions.ConventionSet AddConventions (Microsoft.EntityFrameworkCore.Metadata.Conventions.ConventionSet conventionSet);
override this.AddConventions : Microsoft.EntityFrameworkCore.Metadata.Conventions.ConventionSet -> Microsoft.EntityFrameworkCore.Metadata.Conventions.ConventionSet
Public Overrides Function AddConventions (conventionSet As ConventionSet) As ConventionSet

參數

conventionSet
ConventionSet

傳回

適用於