EntityTypeExtensions.GetDerivedTypes(IEntityType) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得衍生自指定實體類型之模型中的所有類型。
[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
實體類型。
傳回
衍生型別。
- 屬性