Partilhar via


PropertyDiscoveryConvention.DiscoverPrimitiveProperties Method

Definition

Discovers properties on the given structural type.

protected virtual void DiscoverPrimitiveProperties (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionTypeBaseBuilder structuralTypeBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext context);
abstract member DiscoverPrimitiveProperties : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionTypeBaseBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext -> unit
override this.DiscoverPrimitiveProperties : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionTypeBaseBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext -> unit
Protected Overridable Sub DiscoverPrimitiveProperties (structuralTypeBuilder As IConventionTypeBaseBuilder, context As IConventionContext)

Parameters

structuralTypeBuilder
IConventionTypeBaseBuilder

The type for which the properties will be discovered.

context
IConventionContext

Additional information associated with convention execution.

Applies to