Click or drag to resize

PFQueryFilter_User Class

Represents a filter in a PFQuery comparing PFUser values.
Inheritance Hierarchy

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.295)
Syntax
C#
[DataContractAttribute]
public class PFQueryFilter_User : PFQueryFilter

The PFQueryFilter_User type exposes the following members.

Constructors
  NameDescription
Public methodPFQueryFilter_User
Initializes a new instance of the PFQueryFilter_User class.
Public methodPFQueryFilter_User(String, PFQueryFilterOperator, String)
Initializes a new instance of the PFQueryFilter_User class.
Top
Properties
  NameDescription
Public propertyCoalesce

Gets or sets a value indicating whether the column value, if null, should be converted for this test.

Ex: "SampleColumn!='Test'" becomes "COALESCE(SampleColumn, '')!='Test'" if this is enabled and the chosen coalesce value is an empty string.

(Inherited from PFQueryFilter.)
Public propertyCoalesceValue

Gets or sets a value to use as an alternative for the column value if it is null.

Used only if the property Coalesce is True.

Ex: "SampleColumn!='Test'" becomes "COALESCE(SampleColumn, '')!='Test'" if Coalesce is True and the chosen coalesce value is an empty string.

(Inherited from PFQueryFilter.)
Public propertyFieldName
Gets or sets the name of the target field/column.
(Inherited from PFQueryFilter.)
Public propertyFieldValue
Gets or sets the value used for comparisons.
(Inherited from PFQueryFilter.)
Public propertyFilterOnGroupedValues

Gets or sets a value indicating whether the filter should apply to splitted values after group instead of filtering objects directly.

This will only apply -To choice and user multi-values fields. -If the filtered field is also grouped. -If the filtered value is not null.

Note : this parameter is NOT serialized because its use is very rare.

(Inherited from PFQueryFilter.)
Public propertyHasRestriction
Gets a value indicating whether there are restrictions,

limiting the use of this filter to certain objects.

(Inherited from PFQueryFilter.)
Public propertyIgnoreAccents
Gets or sets a value indicating whether this filter should ignore accents or not.

Note : this only applies when the database is currently NOT ignoring accents by default.

Attention, this can greatly degrade performances!

(Inherited from PFQueryFilter.)
Public propertyOperator
Gets or sets the filter's operator.
(Inherited from PFQueryFilter.)
Public propertyRestrictedToParents
Gets or sets a list of parents' GUIDs.

If not empty, the filter will be applied to a subset of objects, depending on their parent.

(Inherited from PFQueryFilter.)
Public propertyUnknownValue
Gets or sets a value indicating whether the filter value is already known.

This is typically used (= set to true) when a query is created to be stored and not executed immediately, e.g. for stored procedures.

(Inherited from PFQueryFilter.)
Public propertyUseCurrentUser
Gets or sets a value indicating whether the current user should be used for comparison when the query is executed.
Top
Methods
  NameDescription
Public methodDisableCoalesce
Disables coalesce mode for this filter. See Coalesce property for more information.
(Inherited from PFQueryFilter.)
Public methodEnableCoalesce
Enables coalesce mode for this filter with a given value. See Coalesce property for more information.
(Inherited from PFQueryFilter.)
Public methodToString
Creates a display value of this filters.
(Inherited from PFQueryFilter.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also