System.Data.Common.CommandTrees.Internal.ExpressionKeyGen.VisitBinding(System.Data.Common.CommandTrees.DbExpressionBinding)

Here are the examples of the csharp api class System.Data.Common.CommandTrees.Internal.ExpressionKeyGen.VisitBinding(System.Data.Common.CommandTrees.DbExpressionBinding) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

8 Examples 7

1. Example

Project: referencesource
Source File: ExpressionKeyGen.cs
View license
public override void Visit(DbCrossJoinExpression e)
        {
            VisitExprKind(e.ExpressionKind);
            _key.Append('(');
            foreach (var i in e.Inputs)
            {
                VisitBinding(i);
            }
            _key.Append(')');
        }

2. Example

Project: referencesource
Source File: ExpressionKeyGen.cs
View license
public override void Visit(DbApplyExpression e)
        {
            VisitExprKind(e.ExpressionKind);
            _key.Append('(');
            VisitBinding(e.Input);
            VisitBinding(e.Apply);
            _key.Append(')');
        }

3. Example

Project: referencesource
Source File: ExpressionKeyGen.cs
View license
public override void Visit(DbFilterExpression e)
        {
            VisitExprKind(e.ExpressionKind);
            _key.Append('(');
            VisitBinding(e.Input);
            _key.Append('(');
            e.Predicate.Accept(this);
            _key.Append("))");
        }

4. Example

Project: referencesource
Source File: ExpressionKeyGen.cs
View license
public override void Visit(DbProjectExpression e)
        {
            VisitExprKind(e.ExpressionKind);
            _key.Append('(');
            VisitBinding(e.Input);
            _key.Append('(');
            e.Projection.Accept(this);
            _key.Append("))");
        }

5. Example

Project: referencesource
Source File: ExpressionKeyGen.cs
View license
public override void Visit(DbJoinExpression e)
        {
            VisitExprKind(e.ExpressionKind);
            _key.Append('(');
            VisitBinding(e.Left);
            VisitBinding(e.Right);
            _key.Append('(');
            e.JoinCondition.Accept(this);
            _key.Append("))");
        }

6. Example

Project: referencesource
Source File: ExpressionKeyGen.cs
View license
public override void Visit(DbSortExpression e)
        {
            VisitExprKind(e.ExpressionKind);
            _key.Append('(');
            VisitBinding(e.Input);
            VisitSortOrder(e.SortOrder);
            _key.Append(')');
        }

7. Example

Project: referencesource
Source File: ExpressionKeyGen.cs
View license
public override void Visit(DbQuantifierExpression e)
        {
            VisitExprKind(e.ExpressionKind);
            _key.Append('(');
            VisitBinding(e.Input);
            _key.Append('(');
            e.Predicate.Accept(this);
            _key.Append("))");
        }

8. Example

Project: referencesource
Source File: ExpressionKeyGen.cs
View license
public override void Visit(DbSkipExpression e)
        {
            VisitExprKind(e.ExpressionKind);
            _key.Append('(');
            VisitBinding(e.Input);
            VisitSortOrder(e.SortOrder);
            _key.Append('(');
            e.Count.Accept(this);
            _key.Append("))");
        }