Chili.Opf3 Send comments on this topic.
AppendConditionIfParameterNotNull Method
See Also 
Chili.Opf3.Query Namespace > SqlQueryBuilder Class : AppendConditionIfParameterNotNull Method




condition
The conditional string that may also contain a parameter.
parameter
The parameter value.
Adds a condition to the query. The condition is only added if the paremeter is not null. The parameter position is specified by the {0} string.

Syntax

Visual Basic (Declaration) 
Public Sub AppendConditionIfParameterNotNull( _
   ByVal condition As String, _
   ByVal parameter As Object _
) 
Visual Basic (Usage)Copy Code
Dim instance As SqlQueryBuilder
Dim condition As String
Dim parameter As Object
 
instance.AppendConditionIfParameterNotNull(condition, parameter)
C# 
public void AppendConditionIfParameterNotNull( 
   string condition,
   object parameter
)
Managed Extensions for C++ 
public: void AppendConditionIfParameterNotNull( 
   string* condition,
   Object* parameter
) 
C++/CLI 
public:
void AppendConditionIfParameterNotNull( 
   String^ condition,
   Object^ parameter
) 

Parameters

condition
The conditional string that may also contain a parameter.
parameter
The parameter value.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also