CosmosDbFunctionsExtensions.IsDefined(DbFunctions, Object) Method

Definition

Returns a boolean indicating if the property has been assigned a value. Corresponds to the Cosmos IS_DEFINED function.

C#
public static bool IsDefined (this Microsoft.EntityFrameworkCore.DbFunctions _, object? expression);

Parameters

_
DbFunctions

The DbFunctions instance.

expression
Object

The expression to check.

Returns

Remarks

See Database functions, and Accessing Cosmos with EF Core for more information and examples.

Applies to

Product Versions
Entity Framework Core 9.0