Method WithOptions
WithOptions(EntityQueryOptions)
Set options for the current query.
Declaration
public EntityQueryBuilder WithOptions(EntityQueryOptions options)
Parameters
Type | Name | Description |
---|---|---|
EntityQueryOptions | options | EntityQueryOptions flags to set for the current query |
Returns
Type | Description |
---|---|
EntityQueryBuilder | The builder object that invoked this method. |
Remarks
You should not need to set these options for most queries.
You should only call WithOptions once for each query description. Subsequent calls override previous options, rather than adding to them. Use the bitwise OR operator '|' to combine multiple options.