共用方式為


TableNameFromDbSetConvention 建構函式

定義

建立 TableNameFromDbSetConvention 的新執行個體。

public TableNameFromDbSetConvention (Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies dependencies, Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.RelationalConventionSetBuilderDependencies relationalDependencies);
new Microsoft.EntityFrameworkCore.Metadata.Conventions.TableNameFromDbSetConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies * Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.RelationalConventionSetBuilderDependencies -> Microsoft.EntityFrameworkCore.Metadata.Conventions.TableNameFromDbSetConvention
Public Sub New (dependencies As ProviderConventionSetBuilderDependencies, relationalDependencies As RelationalConventionSetBuilderDependencies)

參數

dependencies
ProviderConventionSetBuilderDependencies

包含此慣例相依性的參數物件。

relationalDependencies
RelationalConventionSetBuilderDependencies

參數物件,其中包含這個慣例的關聯式相依性。

適用於