SelectCondition MembersKentico 8.0 API Reference
The SelectCondition type exposes the following members.
Constructors

  NameDescription
Public methodSelectCondition 
Constructor, prepares empty condition object.
Public methodSelectCondition(QueryDataParameters)
Constructor, prepares empty condition object bound to specific query parameters.
Public methodSelectCondition(String, IList Int32 , Boolean)
Constructor, prepares the condition over IDs.
Public methodSelectCondition(String, IList String , Boolean)
Constructor, prepares the condition over names (strings).
Back to Top
Methods

  NameDescription
Protected methodBuildList
Builds the list of values separated by colon.
Public methodDispose
Disposes the object and removes the selection from the database if it was allocated in the temp table.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodPrepare(String, IList Int32 , Boolean)
Prepares the condition over IDs.
Public methodPrepare(String, IList String , Boolean, Boolean)
Prepares the condition over names (strings).
Public methodPrepareIDs
Prepares the condition over IDs.
Protected methodPrepareWhereCondition
Prepares the where condition for the given list.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Fields

  NameDescription
Public fieldStatic memberALL_INLINE
Constant for Inline limit property defining that all items should be processed inline
Protected fieldmGroupGUID
Group GUID for the temp table.
Protected fieldmInlineLimit
Limit of the number of items for the inline evaluation. If there are more items than this limit, the where condition is returned in format: ColumnName IN (SELECT ItemName FROM Func_Selection_ParseNames(@List_949939be_1bf7_48d9_bbd6_57facb5c8001)) Otherwise, inline format is used: ColumnName IN (Value1, Value2, ...) If set to -1, inline format is always used.
Protected fieldmParameters
Query parameters.
Protected fieldmWhereCondition
Where condition.
Back to Top
Properties

  NameDescription
Public propertyInlineLimit
Limit of the number of items for the inline evaluation. If there are more items than this limit, the where condition is returned in format: ColumnName IN (SELECT ItemName FROM Func_Selection_ParseNames(@List_949939be_1bf7_48d9_bbd6_57facb5c8001)) Otherwise, inline format is used: ColumnName IN (Value1, Value2, ...) If set to -1, inline format is always used.
Public propertyIsEmpty
Returns true if the selection is empty.
Public propertyWhereCondition
Returns the resulting where condition.
Back to Top
See Also