ServicePropertyDiscoveryConvention.DiscoverServiceProperties Method

Definition

Discovers properties on the given structural type.

C#
protected virtual void DiscoverServiceProperties (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionTypeBaseBuilder structuralTypeBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext context);

Parameters

structuralTypeBuilder
IConventionTypeBaseBuilder

The type for which the properties will be discovered.

context
IConventionContext

Additional information associated with convention execution.

Applies to

Product Versions
Entity Framework Core 9.0