Partilhar via


RelationalKeyDiscoveryConvention Constructor

Definition

Creates a new instance of RelationalKeyDiscoveryConvention.

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

Parameters

dependencies
ProviderConventionSetBuilderDependencies

Parameter object containing dependencies for this convention.

relationalDependencies
RelationalConventionSetBuilderDependencies

Parameter object containing relational dependencies for this convention.

Applies to