Share via


IMutableModel.FindEntityTypes(Type) 方法

定义

获取与给定类型匹配的实体类型。

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

参数

type
Type

要查找的实体类型的类型。

返回

找到的实体类型。

适用于