CosmosDbFunctionsExtensions.IsDefined(DbFunctions, Object) Method
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
The DbFunctions instance.
- expression
- Object
The expression to check.
See Database functions, and Accessing Cosmos with EF Core for more information and examples.
Product | Versions |
---|---|
Entity Framework Core | 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: