CosmosDbFunctionsExtensions.IsDefined(DbFunctions, Object) Method
Definition
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework