Active Query Builder 2 .NET Edition reference
ParenthesizeANDGroups Property



Instructs the component to enclose in parentheses criteria groups joined with AND operator if they are separated by the OR operator for clarity of criteria representation in text form.
Syntax
'Declaration
 
Public Property ParenthesizeANDGroups As System.Boolean
'Usage
 
Dim instance As BaseSQLBuilder
Dim value As System.Boolean
 
instance.ParenthesizeANDGroups = value
 
value = instance.ParenthesizeANDGroups
public System.bool ParenthesizeANDGroups {get; set;}
public: __property System.bool get_ParenthesizeANDGroups();
public: __property void set_ParenthesizeANDGroups( 
   System.bool value
);

Property Value

if false, the result SQL will be: "a >1 and b > 1 or a <= 1 and b < 0";
if true: "(a >1 and b > 1) or (a <= 1 and b < 0)".
Remarks
Can be used in conjunction with the ParenthesizeSingleCriterion property.
See Also

Reference

BaseSQLBuilder Class
BaseSQLBuilder Members

 

 


© Copyright 2005-2012 ActiveDBSoft. All rights reserved.

Send Feedback