ServicePropertyDiscoveryConvention Constructors

Definition

Overloads

ServicePropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies)

Source:
ServicePropertyDiscoveryConvention.cs
Source:
ServicePropertyDiscoveryConvention.cs
Source:
ServicePropertyDiscoveryConvention.cs
Source:
ServicePropertyDiscoveryConvention.cs
Source:
ServicePropertyDiscoveryConvention.cs
Source:
ServicePropertyDiscoveryConvention.cs

Creates a new instance of ServicePropertyDiscoveryConvention.

C#
public ServicePropertyDiscoveryConvention (Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies dependencies);

Parameters

dependencies
ProviderConventionSetBuilderDependencies

Parameter object containing dependencies for this convention.

Applies to

Entity Framework Core 8.0 and other versions
Product Versions
Entity Framework Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0

ServicePropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies, Boolean)

Source:
ServicePropertyDiscoveryConvention.cs

Creates a new instance of ServicePropertyDiscoveryConvention.

C#
public ServicePropertyDiscoveryConvention (Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies dependencies, bool useAttributes = true);

Parameters

dependencies
ProviderConventionSetBuilderDependencies

Parameter object containing dependencies for this convention.

useAttributes
Boolean

Whether the convention will use attributes found on the members.

Applies to

Entity Framework Core 9.0
Product Versions
Entity Framework Core 9.0