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

Тип сущности.

Возвращаемое значение

Производные типы.

Атрибуты

Применяется к