Lenguaje

NonNullableNavigationConvention Constructor

Definition

A convention that configures the non-nullable navigations to principal entity type as required.

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

Parameters

dependencies
ProviderConventionSetBuilderDependencies

Parameter object containing dependencies for this convention.

Remarks

See Model building conventions for more information and examples.

Applies to