Active Query Builder 2 .NET Edition reference
ParenthesizeSingleCriterion Property



Instructs the component to enclose in parentheses single arithmetic operators for clarity of criteria representation in text form.
Syntax
'Declaration
 
Public Property ParenthesizeSingleCriterion As System.Boolean
'Usage
 
Dim instance As BaseSQLBuilder
Dim value As System.Boolean
 
instance.ParenthesizeSingleCriterion = value
 
value = instance.ParenthesizeSingleCriterion
public System.bool ParenthesizeSingleCriterion {get; set;}
public: __property System.bool get_ParenthesizeSingleCriterion();
public: __property void set_ParenthesizeSingleCriterion( 
   System.bool value
);
Remarks
Can be used in conjunction with the ParenthesizeANDGroups property.
Example
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)".
See Also

Reference

BaseSQLBuilder Class
BaseSQLBuilder Members

 

 


© Copyright 2005-2012 ActiveDBSoft. All rights reserved.

Send Feedback