Chili.Opf3 Send comments on this topic.
AppendPropertyIfParameterNotNull Method
See Also 
Chili.Opf3.Query Namespace > Generic ObjectQueryBuilder Class : AppendPropertyIfParameterNotNull Method




propertyName
The name of the property that is added.
comparison
The comparison used to load all objects that match the value compared with the property.
value
The value of the property. All objects matching the value in combination with the comparison are loaded.
Appends a mapped persistent property to the query. The property is only added if the value is not null.

Syntax

Visual Basic (Declaration) 
Public Sub AppendPropertyIfParameterNotNull( _
   ByVal propertyName As String, _
   ByVal comparison As Comparisons, _
   ByVal value As Object _
) 
Visual Basic (Usage)Copy Code
Dim instance As ObjectQueryBuilder(Of T)
Dim propertyName As String
Dim comparison As Comparisons
Dim value As Object
 
instance.AppendPropertyIfParameterNotNull(propertyName, comparison, value)
C# 
public void AppendPropertyIfParameterNotNull( 
   string propertyName,
   Comparisons comparison,
   object value
)
Managed Extensions for C++ 
public: void AppendPropertyIfParameterNotNull( 
   string* propertyName,
   Comparisons comparison,
   Object* value
) 
C++/CLI 
public:
void AppendPropertyIfParameterNotNull( 
   String^ propertyName,
   Comparisons comparison,
   Object^ value
) 

Parameters

propertyName
The name of the property that is added.
comparison
The comparison used to load all objects that match the value compared with the property.
value
The value of the property. All objects matching the value in combination with the comparison are loaded.

Requirements

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

See Also