DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
Deveel.Data.Linq.QueryBuilder Class Reference
Inheritance diagram for Deveel.Data.Linq.QueryBuilder:
Deveel.Data.Linq.ExpressionVisitor

Public Member Functions

 QueryBuilder ()
 
TableQuery Build (Expression expression)
 
TableQuery Build ()
 
- Public Member Functions inherited from Deveel.Data.Linq.ExpressionVisitor
virtual Expression Visit (Expression exp)
 

Protected Member Functions

override Expression VisitBinary (BinaryExpression b)
 
override MemberAssignment VisitMemberAssignment (MemberAssignment assignment)
 
- Protected Member Functions inherited from Deveel.Data.Linq.ExpressionVisitor
 ExpressionVisitor ()
 
virtual MemberBinding VisitBinding (MemberBinding binding)
 
virtual ElementInit VisitElementInitializer (ElementInit initializer)
 
virtual Expression VisitUnary (UnaryExpression u)
 
virtual Expression VisitTypeIs (TypeBinaryExpression b)
 
virtual Expression VisitConstant (ConstantExpression c)
 
virtual Expression VisitConditional (ConditionalExpression c)
 
virtual Expression VisitParameter (ParameterExpression p)
 
virtual Expression VisitMemberAccess (MemberExpression m)
 
virtual Expression VisitMethodCall (MethodCallExpression m)
 
virtual ReadOnlyCollection< Expression > VisitExpressionList (ReadOnlyCollection< Expression > original)
 
virtual MemberMemberBinding VisitMemberMemberBinding (MemberMemberBinding binding)
 
virtual MemberListBinding VisitMemberListBinding (MemberListBinding binding)
 
virtual IEnumerable< MemberBinding > VisitBindingList (ReadOnlyCollection< MemberBinding > original)
 
virtual IEnumerable< ElementInit > VisitElementInitializerList (ReadOnlyCollection< ElementInit > original)
 
virtual Expression VisitLambda (LambdaExpression lambda)
 
virtual NewExpression VisitNew (NewExpression nex)
 
virtual Expression VisitMemberInit (MemberInitExpression init)
 
virtual Expression VisitListInit (ListInitExpression init)
 
virtual Expression VisitNewArray (NewArrayExpression na)
 
virtual Expression VisitInvocation (InvocationExpression iv)
 

Private Attributes

readonly TableQuery resultQuery
 

Detailed Description

Definition at line 21 of file QueryBuilder.cs.

Constructor & Destructor Documentation

Deveel.Data.Linq.QueryBuilder.QueryBuilder ( )
inline

Definition at line 24 of file QueryBuilder.cs.

24  {
25  resultQuery = new TableQuery();
26  }
readonly TableQuery resultQuery
Definition: QueryBuilder.cs:22

Member Function Documentation

TableQuery Deveel.Data.Linq.QueryBuilder.Build ( Expression  expression)
inline

Definition at line 28 of file QueryBuilder.cs.

28  {
29  Visit(expression);
30  return resultQuery;
31  }
readonly TableQuery resultQuery
Definition: QueryBuilder.cs:22
virtual Expression Visit(Expression exp)
TableQuery Deveel.Data.Linq.QueryBuilder.Build ( )
inline

Definition at line 33 of file QueryBuilder.cs.

33  {
34  return Build(null);
35  }
override Expression Deveel.Data.Linq.QueryBuilder.VisitBinary ( BinaryExpression  b)
inlineprotectedvirtual

Reimplemented from Deveel.Data.Linq.ExpressionVisitor.

Definition at line 37 of file QueryBuilder.cs.

37  {
38  var expressionType = b.NodeType;
39  return base.VisitBinary(b);
40  }
override MemberAssignment Deveel.Data.Linq.QueryBuilder.VisitMemberAssignment ( MemberAssignment  assignment)
inlineprotectedvirtual

Reimplemented from Deveel.Data.Linq.ExpressionVisitor.

Definition at line 42 of file QueryBuilder.cs.

42  {
43  return base.VisitMemberAssignment(assignment);
44  }

Member Data Documentation

readonly TableQuery Deveel.Data.Linq.QueryBuilder.resultQuery
private

Definition at line 22 of file QueryBuilder.cs.


The documentation for this class was generated from the following file: