Share via


RelationalEntityTypeExtensions.GetMappingStrategy(IReadOnlyEntityType) 方法

定義

取得衍生型別的對應策略。

public static string? GetMappingStrategy (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetMappingStrategy : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> string
<Extension()>
Public Function GetMappingStrategy (entityType As IReadOnlyEntityType) As String

參數

entityType
IReadOnlyEntityType

實體類型。

傳回

衍生類型的對應策略。

適用於