語言

PropertyDiscoveryConvention 建構函式

定義

多載

PropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies)

來源:
PropertyDiscoveryConvention.cs
來源:
PropertyDiscoveryConvention.cs
來源:
PropertyDiscoveryConvention.cs
來源:
PropertyDiscoveryConvention.cs
來源:
PropertyDiscoveryConvention.cs
來源:
PropertyDiscoveryConvention.cs

建立一個新的 實例。PropertyDiscoveryConvention

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

參數

dependencies
ProviderConventionSetBuilderDependencies

包含此慣例依賴關係的參數物件。

適用於

PropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies, Boolean)

來源:
PropertyDiscoveryConvention.cs
來源:
PropertyDiscoveryConvention.cs
來源:
PropertyDiscoveryConvention.cs

建立一個新的 實例。PropertyDiscoveryConvention

public PropertyDiscoveryConvention(Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies dependencies, bool useAttributes = true);
new Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyDiscoveryConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies * bool -> Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyDiscoveryConvention
Public Sub New (dependencies As ProviderConventionSetBuilderDependencies, Optional useAttributes As Boolean = true)

參數

dependencies
ProviderConventionSetBuilderDependencies

包含此慣例依賴關係的參數物件。

useAttributes
Boolean

會議是否會使用成員身上的屬性。

適用於