Click or drag to resize

ExpressionParser Class

Note: This API is now obsolete.

Helper class for working with field reference expressions. Note that this class is deprecated and use of NetQuarry.ExpressionParser is preferred.
Inheritance Hierarchy
SystemObject
  NetQuarry.DataExpressionParser

Namespace:  NetQuarry.Data
Assembly:  EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
[ObsoleteAttribute("This class has been deprecated and is superceded by NetQuarry.ExpressionParser.")]
public class ExpressionParser

The ExpressionParser type exposes the following members.

Constructors
  NameDescription
Public methodExpressionParser
Initializes a new instance of the ExpressionParser class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberExtractFieldKeys(String) Obsolete.
Construct a set of keys for the fields referenced in the specified expression. This class is deprecated. Use NetQuarry.ExpressionParser.ExtractFieldKeys.
Public methodStatic memberExtractFieldKeys(String, Boolean) Obsolete.
Construct a set of keys for the fields referenced in the specified expression. This class is deprecated. Use NetQuarry.ExpressionParser.ExtractFieldKeys.
Public methodStatic memberExtractFlags Obsolete.
Converts a string of field expression flags to their corresponding enum flags. Field expression flags occur in field expressions immediately following the opening square bracket. This class is deprecated. Use NetQuarry.ExpressionParser.ExtractFlags.
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberHasReferences Obsolete.
Determines if the specified expression includes field references. This class is deprecated. Use NetQuarry.ExpressionParser.HasReferences.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberParse(String, String) Obsolete.
Parse a field expression extracting its expression attribute and reference string. Flag characters, if any, must precede the expression itself and any leading and/or trailing square brackets will be removed. This class is deprecated. Use NetQuarry.ExpressionParser.Parse.
Public methodStatic memberParse(String, String, String) Obsolete.
Parse a field expression into its flag characters and reference string. Flag characters, if any, must precede the expression itself. This class is deprecated. Use NetQuarry.ExpressionParser.Parse.
Public methodStatic memberResolveReferences Obsolete.
Common helper function to resolve a string of references, given a list of possible replacement values (contained in property collection). This class is deprecated. Use NetQuarry.ExpressionParser.ResolveReferences.
Public methodStatic memberToNumericString Obsolete.
Convert a supposedly numeric string into a validated numeric string. This method has two purposes:
  1. Convert likely non-numerics to valid numerics. In particular, null/empty string to zero, "false" to zero, "true" to one.
  2. Protect against possible SQL injection attack by converting supposedly numeric values that don't parse to zero.
In the case of an unexpected, non-parsable value, a simple SQL injection attack detection is performed and a devlog and request log entry generated if a SQL injection attempt looks likely. This class is deprecated. Use NetQuarry.ExpressionParser.ToNumericString.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberFieldRefFlags Obsolete.
The set of valid field reference flags used in field reference expressions. This class is deprecated. Use NetQuarry.ExpressionParser.FieldRefFlags.
Public fieldStatic memberRefCaption Obsolete.
The field reference flag signifying that the expression should be resolved using the field's caption UseCaption. This class is deprecated. Use NetQuarry.ExpressionParser.RefCaption.
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also