EntityTypeExtensions.GetDerivedTypes(IEntityType) 方法

定義

取得衍生自指定實體類型之模型中的所有類型。

[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.EntityTypeExtensions+<GetDerivedTypes>d__0))]
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IEntityType> GetDerivedTypes (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IEntityType> GetDerivedTypes (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.EntityTypeExtensions+<GetDerivedTypes>d__0))>]
static member GetDerivedTypes : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IEntityType>
static member GetDerivedTypes : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IEntityType>
<Extension()>
Public Iterator Function GetDerivedTypes (entityType As IEntityType) As IEnumerable(Of IEntityType)
<Extension()>
Public Function GetDerivedTypes (entityType As IEntityType) As IEnumerable(Of IEntityType)

參數

entityType
IEntityType

實體類型。

傳回

衍生型別。

屬性

適用於