EntityProjectionExpression.MakeNullable Method

Definition

Makes entity instance in projection nullable.

C#
public virtual Microsoft.EntityFrameworkCore.Query.EntityProjectionExpression MakeNullable ();

Returns

A new entity projection expression which can project nullable entity.

Applies to

Product Versions
Entity Framework Core 3.0, 3.1, 5.0, 6.0, 7.0