InheritanceDiscoveryConventionBase Class

Definition

Caution

This API is now deprecated.

Base type for inheritance discovery conventions

C#
public abstract class InheritanceDiscoveryConventionBase
C#
[System.Obsolete]
public abstract class InheritanceDiscoveryConventionBase
Inheritance
InheritanceDiscoveryConventionBase
Derived
Attributes

Remarks

See Model building conventions for more information.

Constructors

Properties

Dependencies

Dependencies for this service.

Methods

FindClosestBaseType(IConventionEntityType)

Finds an entity type in the model that's associated with a CLR type that the given entity type's associated CLR type is derived from and is the closest one in the CLR hierarchy.

Applies to

Proizvod Verzije (Zastarjelo)
Entity Framework Core 3.0, 3.1 (5.0, 6.0)