RuntimeModel.IModel.GetEntityTypes 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得模型中定義的所有實體類型。
[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
傳回
模型中定義的所有實體類型。
實作
- 屬性