Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CosmosDbFunctionsExtensions.IsDefined(DbFunctions, Object) Method

Definition

Namespace:
Microsoft.EntityFrameworkCore
Assembly:
Microsoft.EntityFrameworkCore.Cosmos.dll
Package:
Microsoft.EntityFrameworkCore.Cosmos v10.0.0
Source:
CosmosDbFunctionsExtensions.cs

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.

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


Feedback

Was this page helpful?