Click or drag to resize

MapperUtilsResolveExpression Method

Resolve the specified field expression using ExpressionResolve mapper command. See ExpressionParser for more information about field expressions. Use ExpressionEscape to escape apparent field references in a string. Note that although, for historical reasons, the ExpressionResolve command will throw an error if the expression contains an unresolvable field or other syntax error, this method DOES NOT throw by default because it adds the DoNotThrow flag UNLESS the ThrowOnAnomaly flag is set.

Namespace:  NetQuarry.Data
Assembly:  EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static string ResolveExpression(
	this IMapper map,
	string expression,
	ExpressionResolutionFlags flags = 
)

Parameters

map
Type: NetQuarry.DataIMapper
The mapper.
expression
Type: SystemString
The expression to resolve.
flags (Optional)
Type: NetQuarry.DataExpressionResolutionFlags
Optional resolution flags.

Return Value

Type: String
The resolved expression.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IMapper. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also