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

返回

在模型中定义的所有实体类型。

实现

属性

适用于