IMutableModel.AddQueryType(Type) 方法

定义

将查询类型添加到模型。

public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType AddQueryType (Type type);
abstract member AddQueryType : Type -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
Public Function AddQueryType (type As Type) As IMutableEntityType

参数

type
Type

用于表示查询类型的实例的 CLR 类。

返回

查询类型。

适用于