PFQuery Methods |
The PFQuery type exposes the following members.
Name | Description | |
---|---|---|
AddAggregation |
Adds a new aggregation.
| |
AddFilter(PFQueryFilter) |
Adds a new filter in the root node of filters tree.
| |
AddFilter(String, Object) |
Adds a new filter in the root node of filters tree.
| |
AddFilter(String, PFQueryFilterOperator, Object) |
Adds a new filter in the root node of filters tree.
| |
AddGroup |
Adds a new group.
| |
AddOrder |
Adds a new sorting rule.
| |
ChangeOrder(String) |
Resets orders and adds a new order.
| |
ChangeOrder(String, PFQueryOrderType) |
Resets orders and adds a new order.
| |
CheckFieldsAvailability |
Checks if the fields used in this query are available in the specified parent, given a list of available fields.
| |
ChooseFields(PFQueryFieldsMode) |
Changes the way this query should determine which values are selected as output.
| |
ChooseFields(PFQueryFieldsMode, ListString) |
Changes the way this query should determine which values are selected as output.
| |
ChooseFields(PFQueryFieldsMode, String) |
Changes the way this query should determine which values are selected as output.
| |
CreateQuery |
Creates a new instance of the PFQuery class.
| |
CreateQuery(String) |
Creates a new instance of the PFQuery class from a serialized PFQuery.
| |
CreateQuery(PFQueryFilter) |
Creates a new instance of the PFQuery class, with default filters.
| |
CreateQuery(PFQueryFilter, PFQueryOrder) |
Creates a new instance of the PFQuery class, with a default filter and a default order.
| |
CreateQueryFilter(String, Object) |
Creates a new instance of the PFQuery class, with a default filter.
| |
CreateQueryFilter(String, PFQueryFilterOperator, Object) |
Creates a new instance of the PFQuery class, with a default filter.
| |
CreateQueryFilter(String, Object, String) |
Creates a new instance of the PFQuery class, with a default filter and a default order.
| |
CreateQueryFilter(String, PFQueryFilterOperator, Object, String) |
Creates a new instance of the PFQuery class, with a default filter and a default order.
| |
CreateQueryFilter(String, Object, String, Boolean) |
Creates a new instance of the PFQuery class, with a default filter and a default order.
| |
CreateQueryFilter(String, PFQueryFilterOperator, Object, String, Boolean) |
Creates a new instance of the PFQuery class, with a default filter and a default order.
| |
CreateQueryOrderBy(String, PFQueryFilter) |
Creates a new instance of the PFQuery class, with default filters.
| |
CreateQueryOrderBy(String, Boolean) |
Creates a new instance of the PFQuery class, with a default order.
| |
CreateQueryOrderBy(String, Boolean, PFQueryFilter) |
Creates a new instance of the PFQuery class, with a default order and multiple default filters.
| |
GetACopy |
Copies this PFQuery using serialization.
| |
GetAggregationsFields |
Gets the names of all fields/columns used in aggregations.
| |
GetAllFilters |
Gets all filters in the filters tree, recursively.
| |
GetGroupsFields |
Gets the names of all fields/columns used in groups.
| |
GetNextResultsCount |
Returns 1 if PagingIncludeNextResult is true, 0 otherwise.
| |
GetOrderFields |
Gets the names of all fields/columns used in sorting rules.
| |
GetSubGroupQuery(KeyValuePairString, Object) |
Creates a new PFQuery object retrieving values of a particular group.
The new query will replace one level of group by a filter on the same field. E.g. a gridview displaying groups will call this method to obtain the query to execute when one of the groups is opened. | |
GetSubGroupQuery(ListKeyValuePairString, Object) |
Creates a new PFQuery object retrieving values of a particular group.
The new query will replace one level of group by a filter on the same field. E.g. a gridview displaying groups will call this method to obtain the query to execute when one of the groups is opened. | |
OrderBy |
Starts to build a new query.
Adds a new sorting rule.
| |
OrderByDescending |
Starts to build a new query.
Adds a new sorting rule.
| |
Select |
Starts to build a new query.
Changes the way the query should determine which values are selected as output.
| |
Serialize |
Serializes this PFQuery in XML.
The returned string can be converted into a PFQuery using the static method PFQuery.CreateQuery(serializedQuery). | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Where(String, Object) |
Starts to build a new query.
Adds a new filter in the root node of filters tree.
| |
Where(String, PFQueryFilterOperator, Object) |
Starts to build a new query.
Adds a new filter in the root node of filters tree.
| |
WhereIsNotNull |
Starts to build a new query.
Adds a new filter in the root node of filters tree.
| |
WhereIsNull |
Starts to build a new query.
Adds a new filter in the root node of filters tree.
|
Name | Description | |
---|---|---|
AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) | |
EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) | |
EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) | |
GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) | |
IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) | |
Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |