共用方式為


NonNullableReferencePropertyConvention 建構函式

定義

建立 NonNullableReferencePropertyConvention 的新執行個體。

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

參數

dependencies
ProviderConventionSetBuilderDependencies

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

適用於