Ejemplo n.º 1
0
        public BackendlessDataQuery Build()
        {
            BackendlessDataQuery dataQuery = pagedQueryBuilder.Build();

            dataQuery.QueryOptions = queryOptionsBuilder.Build();
            dataQuery.Properties   = properties;
            dataQuery.WhereClause  = whereClause;

            return(dataQuery);
        }
Ejemplo n.º 2
0
        public BackendlessDataQuery Build()
        {
            BackendlessDataQuery dataQuery = pagedQueryBuilder.Build();

            dataQuery.QueryOptions      = queryOptionsBuilder.Build();
            dataQuery.Properties        = properties;
            dataQuery.ExcludeProperties = excludeProperties;
            dataQuery.WhereClause       = whereClause;
            dataQuery.GroupBy           = groupBy;
            dataQuery.HavingClause      = havingClause;
            return(dataQuery);
        }
Ejemplo n.º 3
0
        public BackendlessDataQuery Build()
        {
            if (string.IsNullOrEmpty(relationName))
            {
                throw new System.Exception("Unable to build a query for LoadRelations. Relation name is not set");
            }

            BackendlessDataQuery dataQuery    = pagedQueryBuilder.Build();
            QueryOptions         queryOptions = new QueryOptions();

            queryOptions.Related   = new List <String>(new[] { relationName });
            dataQuery.QueryOptions = queryOptions;
            return(dataQuery);
        }