Sdílet prostřednictvím


IModel.FindEntityTypes(Type) Metoda

Definice

Získá typy entit odpovídající danému typu.

[System.Diagnostics.DebuggerStepThrough]
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IEntityType> FindEntityTypes (Type type);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member FindEntityTypes : Type -> seq<Microsoft.EntityFrameworkCore.Metadata.IEntityType>
Public Function FindEntityTypes (type As Type) As IEnumerable(Of IEntityType)

Parametry

type
Type

Typ entity, který chcete najít.

Návraty

Nalezené typy entit

Atributy

Poznámky

Další informace a příklady najdete v tématu Modelování typů entit a relací .

Platí pro