Freigeben über


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.

public static bool IsDefined (this Microsoft.EntityFrameworkCore.DbFunctions _, object? expression);
static member IsDefined : Microsoft.EntityFrameworkCore.DbFunctions * obj -> bool
<Extension()>
Public Function IsDefined (_ As DbFunctions, expression As Object) As Boolean

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