次の方法で共有


QueryRootExpression.UpdateEntityType(IEntityType) メソッド

定義

このクエリ ルート更新、同等の最適化バージョンに関連付けられているエンティティ型です。

public virtual Microsoft.EntityFrameworkCore.Query.QueryRootExpression UpdateEntityType (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
abstract member UpdateEntityType : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Query.QueryRootExpression
override this.UpdateEntityType : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Query.QueryRootExpression
Public Overridable Function UpdateEntityType (entityType As IEntityType) As QueryRootExpression

パラメーター

entityType
IEntityType

置き換えるエンティティ型。

戻り値

指定されたエンティティ型を含む新しいクエリ ルート。

適用対象