GetOriginalWhereExpression
Provides a String comprised of all the field's search expressions based on their original values. Each field's search expression is obtained if it is marked as Visible or UseInSave.
Parameters:
| Description | |
|---|---|
| includeTableName | If true then each field name will be have its table name prefixed. This is important and useful when creating where expression from multiple tables and more than one table may contain the same column name. |
| recur | Recursion type that will determine what kind of joined objects will be covered. If Recursion is set to RecursionTypes.Parent then only the Join objects with relationship type of Parent will be covered and hence same process for Child relationship. |
| level | Current level in recursion. |
| maxLevels | Maximum levels of business objects to cover during recursion. |
| objectsCovered | A collection that can be used to track what business objects are already covered. |
| sqlParams | All the parameters created by this method will be added into this ArrayList. |
Returns:
| Type | |
|---|---|
| System.String |
| C# | |
|---|---|
public string GetOriginalWhereExpression( bool includeTableName, ref RecursionTypes recur, ref int level, ref int maxLevels, ref IBusinessObjectCollection objectsCovered, ref ArrayList sqlParams ) | |
Parameters
- includeTableName
- recur
- level
- maxLevels
- objectsCovered
- sqlParams
Target Platforms: .NET Framework 1.1 or .NET Framework 2.0