C# Class NLite.Data.Linq.Expressions.DbExpressionVisitor

An extended expression visitor including custom DbExpression nodes
Inheritance: NLite.Data.Linq.ExpressionVisitor
Afficher le fichier Open project: netcasewqs/elinq

Méthodes publiques

Méthode Description
Visit ( Expression exp ) : Expression

Méthodes protégées

Méthode Description
UpdateAggregate ( AggregateExpression aggregate, Type type, string aggType, Expression arg, bool isDistinct ) : AggregateExpression
UpdateAggregateSubquery ( AggregateSubqueryExpression aggregate, ScalarExpression subquery ) : AggregateSubqueryExpression
UpdateBatch ( BatchExpression batch, Expression input, LambdaExpression operation ) : BatchExpression
UpdateBetween ( BetweenExpression between, Expression expression, Expression lower, Expression upper ) : BetweenExpression
UpdateBlock ( BlockCommand block, IList commands ) : BlockCommand
UpdateClientJoin ( ClientJoinExpression join, ProjectionExpression projection, IEnumerable outerKey, IEnumerable innerKey ) : ClientJoinExpression
UpdateColumnAssignment ( ColumnAssignment ca, ColumnExpression c, Expression e ) : ColumnAssignment
UpdateDeclaration ( DeclarationCommand decl, IEnumerable variables, SelectExpression source ) : DeclarationCommand
UpdateDelete ( DeleteCommand delete, TableExpression table, Expression where ) : DeleteCommand
UpdateEntity ( EntityExpression entity, Expression expression ) : EntityExpression
UpdateExists ( ExistsExpression exists, SelectExpression select ) : ExistsExpression
UpdateFunction ( FunctionExpression func, string name, IEnumerable arguments ) : FunctionExpression
UpdateIf ( IFCommand ifx, Expression check, Expression ifTrue, Expression ifFalse ) : IFCommand
UpdateIn ( InExpression @in, Expression expression, SelectExpression select, IEnumerable values ) : InExpression
UpdateInsert ( InsertCommand insert, TableExpression table, IEnumerable assignments ) : InsertCommand
UpdateIsNull ( IsNullExpression isnull, Expression expression ) : IsNullExpression
UpdateJoin ( JoinExpression join, JoinType joinType, Expression left, Expression right, Expression condition ) : JoinExpression
UpdateOuterJoined ( OuterJoinedExpression outer, Expression test, Expression expression ) : OuterJoinedExpression
UpdateProjection ( ProjectionExpression proj, SelectExpression select, Expression projector, LambdaExpression aggregator ) : ProjectionExpression
UpdateRowNumber ( RowNumberExpression rowNumber, IEnumerable orderBy ) : RowNumberExpression
UpdateScalar ( ScalarExpression scalar, SelectExpression select ) : ScalarExpression
UpdateSelect ( SelectExpression select, Expression from, Expression where, IEnumerable orderBy, IEnumerable groupBy, Expression skip, Expression take, bool isDistinct, bool isReverse, IEnumerable columns ) : SelectExpression
UpdateUpdate ( UpdateCommand update, TableExpression table, Expression where, IEnumerable assignments ) : UpdateCommand
VisitAggregate ( AggregateExpression aggregate ) : Expression
VisitAggregateSubquery ( AggregateSubqueryExpression aggregate ) : Expression
VisitBatch ( BatchExpression batch ) : Expression
VisitBetween ( BetweenExpression between ) : Expression
VisitBlock ( BlockCommand block ) : Expression
VisitClientJoin ( ClientJoinExpression join ) : Expression
VisitColumn ( ColumnExpression column ) : Expression
VisitColumnAssignment ( ColumnAssignment ca ) : ColumnAssignment
VisitColumnAssignments ( ReadOnlyCollection assignments ) : ReadOnlyCollection
VisitColumnDeclarations ( ReadOnlyCollection columns ) : ReadOnlyCollection
VisitCommand ( CommandExpression command ) : Expression
VisitDeclaration ( DeclarationCommand decl ) : Expression
VisitDelete ( DeleteCommand delete ) : Expression
VisitEntity ( EntityExpression entity ) : Expression
VisitExists ( ExistsExpression exists ) : Expression
VisitFunction ( FunctionExpression func ) : Expression
VisitIf ( IFCommand ifx ) : Expression
VisitIn ( InExpression @in ) : Expression
VisitInsert ( InsertCommand insert ) : Expression
VisitIsNull ( IsNullExpression isnull ) : Expression
VisitJoin ( JoinExpression join ) : Expression
VisitNamedValue ( NamedValueExpression value ) : Expression
VisitOrderBy ( ReadOnlyCollection expressions ) : ReadOnlyCollection
VisitOuterJoined ( OuterJoinedExpression outer ) : Expression
VisitProjection ( ProjectionExpression proj ) : Expression
VisitRowNumber ( RowNumberExpression rowNumber ) : Expression
VisitScalar ( ScalarExpression scalar ) : Expression
VisitSelect ( SelectExpression select ) : Expression
VisitSource ( Expression source ) : Expression
VisitSubquery ( SubqueryExpression subquery ) : Expression
VisitTable ( TableExpression table ) : Expression
VisitUpdate ( UpdateCommand update ) : Expression
VisitVariable ( VariableExpression vex ) : Expression
VisitVariableDeclarations ( ReadOnlyCollection decls ) : ReadOnlyCollection

Method Details

UpdateAggregate() protected méthode

protected UpdateAggregate ( AggregateExpression aggregate, Type type, string aggType, Expression arg, bool isDistinct ) : AggregateExpression
aggregate AggregateExpression
type System.Type
aggType string
arg System.Linq.Expressions.Expression
isDistinct bool
Résultat AggregateExpression

UpdateAggregateSubquery() protected méthode

protected UpdateAggregateSubquery ( AggregateSubqueryExpression aggregate, ScalarExpression subquery ) : AggregateSubqueryExpression
aggregate AggregateSubqueryExpression
subquery ScalarExpression
Résultat AggregateSubqueryExpression

UpdateBatch() protected méthode

protected UpdateBatch ( BatchExpression batch, Expression input, LambdaExpression operation ) : BatchExpression
batch BatchExpression
input System.Linq.Expressions.Expression
operation System.Linq.Expressions.LambdaExpression
Résultat BatchExpression

UpdateBetween() protected méthode

protected UpdateBetween ( BetweenExpression between, Expression expression, Expression lower, Expression upper ) : BetweenExpression
between BetweenExpression
expression System.Linq.Expressions.Expression
lower System.Linq.Expressions.Expression
upper System.Linq.Expressions.Expression
Résultat BetweenExpression

UpdateBlock() protected méthode

protected UpdateBlock ( BlockCommand block, IList commands ) : BlockCommand
block BlockCommand
commands IList
Résultat BlockCommand

UpdateClientJoin() protected méthode

protected UpdateClientJoin ( ClientJoinExpression join, ProjectionExpression projection, IEnumerable outerKey, IEnumerable innerKey ) : ClientJoinExpression
join ClientJoinExpression
projection ProjectionExpression
outerKey IEnumerable
innerKey IEnumerable
Résultat ClientJoinExpression

UpdateColumnAssignment() protected méthode

protected UpdateColumnAssignment ( ColumnAssignment ca, ColumnExpression c, Expression e ) : ColumnAssignment
ca ColumnAssignment
c ColumnExpression
e System.Linq.Expressions.Expression
Résultat ColumnAssignment

UpdateDeclaration() protected méthode

protected UpdateDeclaration ( DeclarationCommand decl, IEnumerable variables, SelectExpression source ) : DeclarationCommand
decl DeclarationCommand
variables IEnumerable
source SelectExpression
Résultat DeclarationCommand

UpdateDelete() protected méthode

protected UpdateDelete ( DeleteCommand delete, TableExpression table, Expression where ) : DeleteCommand
delete DeleteCommand
table TableExpression
where System.Linq.Expressions.Expression
Résultat DeleteCommand

UpdateEntity() protected méthode

protected UpdateEntity ( EntityExpression entity, Expression expression ) : EntityExpression
entity EntityExpression
expression System.Linq.Expressions.Expression
Résultat EntityExpression

UpdateExists() protected méthode

protected UpdateExists ( ExistsExpression exists, SelectExpression select ) : ExistsExpression
exists ExistsExpression
select SelectExpression
Résultat ExistsExpression

UpdateFunction() protected méthode

protected UpdateFunction ( FunctionExpression func, string name, IEnumerable arguments ) : FunctionExpression
func FunctionExpression
name string
arguments IEnumerable
Résultat FunctionExpression

UpdateIf() protected méthode

protected UpdateIf ( IFCommand ifx, Expression check, Expression ifTrue, Expression ifFalse ) : IFCommand
ifx IFCommand
check System.Linq.Expressions.Expression
ifTrue System.Linq.Expressions.Expression
ifFalse System.Linq.Expressions.Expression
Résultat IFCommand

UpdateIn() protected méthode

protected UpdateIn ( InExpression @in, Expression expression, SelectExpression select, IEnumerable values ) : InExpression
@in InExpression
expression System.Linq.Expressions.Expression
select SelectExpression
values IEnumerable
Résultat InExpression

UpdateInsert() protected méthode

protected UpdateInsert ( InsertCommand insert, TableExpression table, IEnumerable assignments ) : InsertCommand
insert InsertCommand
table TableExpression
assignments IEnumerable
Résultat InsertCommand

UpdateIsNull() protected méthode

protected UpdateIsNull ( IsNullExpression isnull, Expression expression ) : IsNullExpression
isnull IsNullExpression
expression System.Linq.Expressions.Expression
Résultat IsNullExpression

UpdateJoin() protected méthode

protected UpdateJoin ( JoinExpression join, JoinType joinType, Expression left, Expression right, Expression condition ) : JoinExpression
join JoinExpression
joinType JoinType
left System.Linq.Expressions.Expression
right System.Linq.Expressions.Expression
condition System.Linq.Expressions.Expression
Résultat JoinExpression

UpdateOuterJoined() protected méthode

protected UpdateOuterJoined ( OuterJoinedExpression outer, Expression test, Expression expression ) : OuterJoinedExpression
outer OuterJoinedExpression
test System.Linq.Expressions.Expression
expression System.Linq.Expressions.Expression
Résultat OuterJoinedExpression

UpdateProjection() protected méthode

protected UpdateProjection ( ProjectionExpression proj, SelectExpression select, Expression projector, LambdaExpression aggregator ) : ProjectionExpression
proj ProjectionExpression
select SelectExpression
projector System.Linq.Expressions.Expression
aggregator System.Linq.Expressions.LambdaExpression
Résultat ProjectionExpression

UpdateRowNumber() protected méthode

protected UpdateRowNumber ( RowNumberExpression rowNumber, IEnumerable orderBy ) : RowNumberExpression
rowNumber RowNumberExpression
orderBy IEnumerable
Résultat RowNumberExpression

UpdateScalar() protected méthode

protected UpdateScalar ( ScalarExpression scalar, SelectExpression select ) : ScalarExpression
scalar ScalarExpression
select SelectExpression
Résultat ScalarExpression

UpdateSelect() protected méthode

protected UpdateSelect ( SelectExpression select, Expression from, Expression where, IEnumerable orderBy, IEnumerable groupBy, Expression skip, Expression take, bool isDistinct, bool isReverse, IEnumerable columns ) : SelectExpression
select SelectExpression
from System.Linq.Expressions.Expression
where System.Linq.Expressions.Expression
orderBy IEnumerable
groupBy IEnumerable
skip System.Linq.Expressions.Expression
take System.Linq.Expressions.Expression
isDistinct bool
isReverse bool
columns IEnumerable
Résultat SelectExpression

UpdateUpdate() protected méthode

protected UpdateUpdate ( UpdateCommand update, TableExpression table, Expression where, IEnumerable assignments ) : UpdateCommand
update UpdateCommand
table TableExpression
where System.Linq.Expressions.Expression
assignments IEnumerable
Résultat UpdateCommand

Visit() public méthode

public Visit ( Expression exp ) : Expression
exp System.Linq.Expressions.Expression
Résultat System.Linq.Expressions.Expression

VisitAggregate() protected méthode

protected VisitAggregate ( AggregateExpression aggregate ) : Expression
aggregate AggregateExpression
Résultat System.Linq.Expressions.Expression

VisitAggregateSubquery() protected méthode

protected VisitAggregateSubquery ( AggregateSubqueryExpression aggregate ) : Expression
aggregate AggregateSubqueryExpression
Résultat System.Linq.Expressions.Expression

VisitBatch() protected méthode

protected VisitBatch ( BatchExpression batch ) : Expression
batch BatchExpression
Résultat System.Linq.Expressions.Expression

VisitBetween() protected méthode

protected VisitBetween ( BetweenExpression between ) : Expression
between BetweenExpression
Résultat System.Linq.Expressions.Expression

VisitBlock() protected méthode

protected VisitBlock ( BlockCommand block ) : Expression
block BlockCommand
Résultat System.Linq.Expressions.Expression

VisitClientJoin() protected méthode

protected VisitClientJoin ( ClientJoinExpression join ) : Expression
join ClientJoinExpression
Résultat System.Linq.Expressions.Expression

VisitColumn() protected méthode

protected VisitColumn ( ColumnExpression column ) : Expression
column ColumnExpression
Résultat System.Linq.Expressions.Expression

VisitColumnAssignment() protected méthode

protected VisitColumnAssignment ( ColumnAssignment ca ) : ColumnAssignment
ca ColumnAssignment
Résultat ColumnAssignment

VisitColumnAssignments() protected méthode

protected VisitColumnAssignments ( ReadOnlyCollection assignments ) : ReadOnlyCollection
assignments ReadOnlyCollection
Résultat ReadOnlyCollection

VisitColumnDeclarations() protected méthode

protected VisitColumnDeclarations ( ReadOnlyCollection columns ) : ReadOnlyCollection
columns ReadOnlyCollection
Résultat ReadOnlyCollection

VisitCommand() protected méthode

protected VisitCommand ( CommandExpression command ) : Expression
command CommandExpression
Résultat System.Linq.Expressions.Expression

VisitDeclaration() protected méthode

protected VisitDeclaration ( DeclarationCommand decl ) : Expression
decl DeclarationCommand
Résultat System.Linq.Expressions.Expression

VisitDelete() protected méthode

protected VisitDelete ( DeleteCommand delete ) : Expression
delete DeleteCommand
Résultat System.Linq.Expressions.Expression

VisitEntity() protected méthode

protected VisitEntity ( EntityExpression entity ) : Expression
entity EntityExpression
Résultat System.Linq.Expressions.Expression

VisitExists() protected méthode

protected VisitExists ( ExistsExpression exists ) : Expression
exists ExistsExpression
Résultat System.Linq.Expressions.Expression

VisitFunction() protected méthode

protected VisitFunction ( FunctionExpression func ) : Expression
func FunctionExpression
Résultat System.Linq.Expressions.Expression

VisitIf() protected méthode

protected VisitIf ( IFCommand ifx ) : Expression
ifx IFCommand
Résultat System.Linq.Expressions.Expression

VisitIn() protected méthode

protected VisitIn ( InExpression @in ) : Expression
@in InExpression
Résultat System.Linq.Expressions.Expression

VisitInsert() protected méthode

protected VisitInsert ( InsertCommand insert ) : Expression
insert InsertCommand
Résultat System.Linq.Expressions.Expression

VisitIsNull() protected méthode

protected VisitIsNull ( IsNullExpression isnull ) : Expression
isnull IsNullExpression
Résultat System.Linq.Expressions.Expression

VisitJoin() protected méthode

protected VisitJoin ( JoinExpression join ) : Expression
join JoinExpression
Résultat System.Linq.Expressions.Expression

VisitNamedValue() protected méthode

protected VisitNamedValue ( NamedValueExpression value ) : Expression
value NamedValueExpression
Résultat System.Linq.Expressions.Expression

VisitOrderBy() protected méthode

protected VisitOrderBy ( ReadOnlyCollection expressions ) : ReadOnlyCollection
expressions ReadOnlyCollection
Résultat ReadOnlyCollection

VisitOuterJoined() protected méthode

protected VisitOuterJoined ( OuterJoinedExpression outer ) : Expression
outer OuterJoinedExpression
Résultat System.Linq.Expressions.Expression

VisitProjection() protected méthode

protected VisitProjection ( ProjectionExpression proj ) : Expression
proj ProjectionExpression
Résultat System.Linq.Expressions.Expression

VisitRowNumber() protected méthode

protected VisitRowNumber ( RowNumberExpression rowNumber ) : Expression
rowNumber RowNumberExpression
Résultat System.Linq.Expressions.Expression

VisitScalar() protected méthode

protected VisitScalar ( ScalarExpression scalar ) : Expression
scalar ScalarExpression
Résultat System.Linq.Expressions.Expression

VisitSelect() protected méthode

protected VisitSelect ( SelectExpression select ) : Expression
select SelectExpression
Résultat System.Linq.Expressions.Expression

VisitSource() protected méthode

protected VisitSource ( Expression source ) : Expression
source System.Linq.Expressions.Expression
Résultat System.Linq.Expressions.Expression

VisitSubquery() protected méthode

protected VisitSubquery ( SubqueryExpression subquery ) : Expression
subquery SubqueryExpression
Résultat System.Linq.Expressions.Expression

VisitTable() protected méthode

protected VisitTable ( TableExpression table ) : Expression
table TableExpression
Résultat System.Linq.Expressions.Expression

VisitUpdate() protected méthode

protected VisitUpdate ( UpdateCommand update ) : Expression
update UpdateCommand
Résultat System.Linq.Expressions.Expression

VisitVariable() protected méthode

protected VisitVariable ( VariableExpression vex ) : Expression
vex VariableExpression
Résultat System.Linq.Expressions.Expression

VisitVariableDeclarations() protected méthode

protected VisitVariableDeclarations ( ReadOnlyCollection decls ) : ReadOnlyCollection
decls ReadOnlyCollection
Résultat ReadOnlyCollection