GetWhereExpression
It creates the where clause based on search settings of each field. This method overload can create expression for WHERE or HAVING clause.
Parameters:
| Description | |
|---|---|
| includeTableName | This indicates wheather the table name wil be prefixed to the column name. |
| sqlParams | This array contains all the parameter objects . |
| paramPrefix | This value can be used to specify the prefix for parameter names will use. |
| isHavingClause | This value can be used to specify if the clause that is being built is HAVING clause or WHERE. If isHavingClause is set to true only the fields that do have an aggregate function applied will be included. |
Returns:
| Type | |
|---|---|
| System.String |
| C# | |
|---|---|
public virtual string GetWhereExpression( bool includeTableName, ref ArrayList sqlParams, string paramPrefix, bool isHavingClause ) | |
Parameters
- includeTableName
- sqlParams
- paramPrefix
- isHavingClause
Target Platforms: .NET Framework 1.1 or .NET Framework 2.0