EntityProjectionExpression.UpdateEntityType(IEntityType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework