IConventionModel.FindEntityTypes(Type) 方法

定義

取得符合指定型別的實體類型。

public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType> FindEntityTypes (Type type);
abstract member FindEntityTypes : Type -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType>
override this.FindEntityTypes : Type -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType>
Public Overridable Function FindEntityTypes (type As Type) As IEnumerable(Of IConventionEntityType)

參數

type
Type

要尋找的實體類型類型。

傳回

找到的實體類型。

適用於