InheritanceDiscoveryConventionBase.FindClosestBaseType(IConventionEntityType) Yöntem

Tanım

Modelde, verilen varlık türünün ilişkili CLR türünün türetilen ve CLR hiyerarşisinde en yakın olan olduğu CLR türüyle ilişkili bir varlık türü bulur.

protected virtual Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType FindClosestBaseType (Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
protected virtual Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType? FindClosestBaseType (Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
abstract member FindClosestBaseType : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
override this.FindClosestBaseType : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
Protected Overridable Function FindClosestBaseType (entityType As IConventionEntityType) As IConventionEntityType

Parametreler

entityType
IConventionEntityType

Varlık türü.

Döndürülenler

IConventionEntityType

Şunlara uygulanır