Skip to content

ODataQueryBuilder class

Builds OData expressions

public class Korzh.EasyQuery.ODataQueryBuilder
: IQueryBuilder
TypeNameDescription
BooleanCanBuildDetermines whether there is enough information to build the query
IQueryFormatsFormatsGets the builder formats.
QueryQueryGets the query this builder is defined for
TypeResultTypeGets the type of result object (string by default)
BooleanUseUtcTimeGets or sets a value indicating whether the query builder will use UTC time zone for all date/time values (like FirstDayOfYear and others).
TypeNameDescription
StringBuild()Builds the query and returns the OData string
QueryBuilderResultGetResult()Gets the result object. In this case it represents an ODATA filtering expression.
StringToString()Returns a System.String that represents this instance.