共用方式為


RuntimeModel.IModel.GetEntityTypes 方法

定義

取得模型中定義的所有實體類型。

[System.Diagnostics.DebuggerStepThrough]
System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IEntityType> IModel.GetEntityTypes ();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IModel.GetEntityTypes : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IEntityType>
override this.Microsoft.EntityFrameworkCore.Metadata.IModel.GetEntityTypes : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IEntityType>
Function GetEntityTypes () As IEnumerable(Of IEntityType) Implements IModel.GetEntityTypes

傳回

模型中定義的所有實體類型。

實作

屬性

適用於