共用方式為


RuntimeModel.IReadOnlyModel.GetEntityTypes 方法

定義

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

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

傳回

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

實作

屬性

適用於