Platform Core .NET Assemblies API
AddCondition(String,String,String,Object,String) Method
See Also  Send Feedback
Terrasoft.Core.DB Namespace > PageableSelectOptions Class > AddCondition Method : AddCondition(String,String,String,Object,String) Method
sourceAlias
The alias of the source.
sourceColumnName
The name of the column for which the expression of the left side of the condition is added.
lastValueParameterName
The name of the parameter that determines the value of the last record in the page of data.
lastValueParameterValue
The value of the last record in the previous page of data.
lastValueParameterValueTypeName
The name of the value type of the last record in the page of data.

Glossary Item Box

Adds a condition with the specified properties to express the column with the specified name from the specified source, by which the results of the query will be sorted.

Syntax

 
C#
 
 

Parameters

sourceAlias
The alias of the source.
sourceColumnName
The name of the column for which the expression of the left side of the condition is added.
lastValueParameterName
The name of the parameter that determines the value of the last record in the page of data.
lastValueParameterValue
The value of the last record in the previous page of data.
lastValueParameterValueTypeName
The name of the value type of the last record in the page of data.

Return Value

Condition for the expression of query results sorting.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.