IMutableModel.GetEntityTypes Method

Definition

Gets all entity types defined in the model.

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType> GetEntityTypes ();
abstract member GetEntityTypes : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType>
Public Function GetEntityTypes () As IEnumerable(Of IMutableEntityType)

Returns

All entity types defined in the model.

Applies to