Share via


EntityProjectionExpression.UpdateEntityType(IEntityType) Method

Definition

Updates the entity type being projected out to one of the derived type.

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

Parameters

derivedType
IEntityType

A derived entity type which should be projected.

Returns

A new entity projection expression which has the derived type being projected.

Applies to