Performs the equivalent of a ToString() on an expression. Swaps out constants for
parameters so that, for example:
from c in Customers where c.City = "London"
generate the same key as
from c in Customers where c.City = "Madrid"
Namespace: NHibernate.Linq.VisitorsAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public class ExpressionKeyVisitor : NhExpressionTreeVisitor |
Visual Basic |
---|
Public Class ExpressionKeyVisitor _ Inherits NhExpressionTreeVisitor |
Visual C++ |
---|
public ref class ExpressionKeyVisitor : public NhExpressionTreeVisitor |
Inheritance Hierarchy
System..::..Object
Remotion.Linq.Parsing..::..ExpressionTreeVisitor
NHibernate.Linq.Visitors..::..NhExpressionTreeVisitor
NHibernate.Linq.Visitors..::..ExpressionKeyVisitor
Remotion.Linq.Parsing..::..ExpressionTreeVisitor
NHibernate.Linq.Visitors..::..NhExpressionTreeVisitor
NHibernate.Linq.Visitors..::..ExpressionKeyVisitor