ServicePropertyDiscoveryConvention Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of 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)
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 |
Creates a new instance of 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)
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 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: