共用方式為


CosmosKeyDiscoveryConvention(ProviderConventionSetBuilderDependencies) 建構函式

定義

建立 CosmosKeyDiscoveryConvention 的新執行個體。

public CosmosKeyDiscoveryConvention (Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies dependencies);
new Microsoft.EntityFrameworkCore.Metadata.Conventions.CosmosKeyDiscoveryConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies -> Microsoft.EntityFrameworkCore.Metadata.Conventions.CosmosKeyDiscoveryConvention
Public Sub New (dependencies As ProviderConventionSetBuilderDependencies)

參數

dependencies
ProviderConventionSetBuilderDependencies

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

適用於