IReadOnlyModel.FindEntityTypes(Type) Method

Definition

Gets the entity types matching the given type.

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

Parameters

type
Type

The type of the entity type to find.

Returns

The entity types found.

Remarks

See Modeling entity types and relationships for more information and examples.

Applies to