Skip to main content

odataquerybuilder-class

Builds OData expressions

public class Korzh.EasyQuery.ODataQueryBuilder
: IQueryBuilder

Assembly: Korzh.EasyQuery.dll

Constructors

NameTypeDescription
ODataQueryBuilder(Query query)voidInitializes a new instance of the Korzh.EasyQuery.ODataQueryBuilder class.

Properties

NameTypeDescription
CanBuildboolDetermines whether there is enough information to build the query
OptionsQueryBuilderOptionsGets or sets the builder's options.
QueryQueryGets the query this builder is defined for
ResultODataStatementBuilder result.
StatementTypeTypeGets the type of result object (string by default)
UseUtcTimeboolGets or sets a value indicating whether the query builder will use UTC time zone for all date/time values (like FirstDayOfYear and others).

Methods

NameTypeDescription
Build()boolBuilds the query and stores the result OData filter in the Korzh.EasyQuery.ODataQueryBuilder.Result property.