ComparisonExpression Class

Defines a query expression used to evaluate on or more values.

Inheritance Hierarchy

System Object

  Scribe.Core.ConnectorApi Expression

    Scribe.Core.ConnectorApi ComparisonExpression

Namespace:  Scribe.Core.ConnectorApi
Assembly:  Scribe.Core.ConnectorApi (in Scribe.Core.ConnectorApi.dll)

Syntax

[DataContractAttribute]
[KnownTypeAttribute(typeof(ComparisonValue))]
public class ComparisonExpression : Expression, 
	IEqualityComparer<ComparisonExpression>

The ComparisonExpression type exposes the following members.

Constructors

 

Name

Description

Public method

ComparisonExpression

Hide default constructor

Public method

ComparisonExpression(ComparisonOperator, ComparisonValue, ComparisonValue, Expression)

Constructor Set parentExpression to NULL for Root Expression

Properties

 

Name

Description

Public property

ExpressionType

The type of the Expression

(Inherited from Expression.)

Public property

LeftValue

The "Left" Value

Public property

Operator

The ComparisonOperator used in the ComparisonExpression

Public property

ParentExpression

The Expression's parent Expression Will be set to NULL if the Expression is the RootExpression

(Inherited from Expression.)

Public property

RightValue

The "Right" Value

Methods

 

Name

Description

Public method

Equals(Object)

This method will return whether this object and the passed in object are equal.

(Overrides Expression Equals(Object).)

Public method

Equals(ComparisonExpression, ComparisonExpression)

This method will return whether the two passed in objects are equal.

Public method

Equals(Expression, Expression)

This method will return whether the two passed in objects are equal.

(Inherited from Expression.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

(Inherited from Object.)

Public method

GetHashCode

This method will return the hashcode of this object.

(Overrides Expression GetHashCode .)

Public method

GetHashCode(ComparisonExpression)

This method will return the hashcode of the passed in object.

Public method

GetHashCode(Expression)

This method will return the hashcode of the passed in object.

(Inherited from Expression.)

Public method

GetType

Gets the Type of the current instance.

(Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)

Public method

OnDeserialized

This method does not have to tie any children to parents because the children are value objects.

(Overrides Expression OnDeserialized(StreamingContext).)

Public method

ToString

Returns a String that represents this instance.

(Inherited from Expression.)

Public method

ToString(StringBuilder, Int32 )

Toes the string.

(Overrides Expression ToString(StringBuilder, Int32 ).)

See

Scribe.Core.ConnectorApi Namespace