語言

ServicePropertyDiscoveryConvention 建構函式

定義

多載

ServicePropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies)

來源:
ServicePropertyDiscoveryConvention.cs
來源:
ServicePropertyDiscoveryConvention.cs
來源:
ServicePropertyDiscoveryConvention.cs
來源:
ServicePropertyDiscoveryConvention.cs
來源:
ServicePropertyDiscoveryConvention.cs
來源:
ServicePropertyDiscoveryConvention.cs

建立一個新的 實例。ServicePropertyDiscoveryConvention

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

參數

dependencies
ProviderConventionSetBuilderDependencies

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

適用於

ServicePropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies, Boolean)

來源:
ServicePropertyDiscoveryConvention.cs
來源:
ServicePropertyDiscoveryConvention.cs
來源:
ServicePropertyDiscoveryConvention.cs

建立一個新的 實例。ServicePropertyDiscoveryConvention

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

參數

dependencies
ProviderConventionSetBuilderDependencies

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

useAttributes
Boolean

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

適用於