SqlClient\Query\QueryConverter.cs (59)
47Dictionary<ParameterExpression, SqlNode> dupMap;
48Dictionary<SqlNode, GroupInfo> gmap;
86this.dupMap = new Dictionary<ParameterExpression, SqlNode>();
87this.gmap = new Dictionary<SqlNode, GroupInfo>();
96internal SqlNode ConvertOuter(Expression node) {
99SqlNode retNode;
123internal SqlNode Visit(Expression node) {
126SqlNode result = this.VisitInner(node);
137internal SqlNode ConvertInner(Expression node, Expression dominantExpression) {
141SqlNode result = this.VisitInner(node);
148private SqlNode VisitInner(Expression node) {
278private SqlSelect CoerceToSequence(SqlNode node) {
322private SqlNode VisitInvocation(InvocationExpression invoke) {
365private SqlNode VisitLambda(LambdaExpression lambda) {
400SqlNode result = this.Visit(exp);
418SqlNode project = this.Visit(selector.Body);
466SqlNode colSelectorNode = this.VisitSequence(colSelector.Body);
594private SqlNode VisitSequenceCast(Expression sequence, Type type) {
614private SqlNode VisitTypeBinary(TypeBinaryExpression b) {
636private SqlNode VisitAs(UnaryExpression a) {
637SqlNode node = this.Visit(a.Operand);
650private SqlNode VisitArrayLength(UnaryExpression c) {
661private SqlNode VisitArrayIndex(BinaryExpression b) {
685private SqlNode VisitCast(UnaryExpression c) {
693private SqlNode VisitChangeType(Expression expression, Type type) {
698private SqlNode ConvertDateToDateTime2(SqlExpression expr) {
703private SqlNode ChangeType(SqlExpression expr, Type type) {
784private SqlNode TranslateConstantTable(ITable table, SqlLink link) {
792private SqlNode VisitLinkedTable(LinkedTableExpression linkedTable) {
796private SqlNode VisitConstant(ConstantExpression cons) {
980SqlNode node = ((SqlAliasRef)selection).Alias.Node;
1142private SqlNode VisitParameter(ParameterExpression p) {
1149SqlNode nodeToDup;
1160private SqlNode TranslateTableValuedFunction(MethodCallExpression mce, MetaFunction function) {
1178private SqlNode TranslateStoredProcedureCall(MethodCallExpression mce, MetaFunction function) {
1266private SqlNode VisitUnary(UnaryExpression u) {
1296private SqlNode VisitBinary(BinaryExpression b) {
1403private SqlNode VisitConcat(Expression source1, Expression source2) {
1414private SqlNode VisitUnion(Expression source1, Expression source2) {
1425private SqlNode VisitIntersect(Expression source1, Expression source2) {
1449private SqlNode VisitExcept(Expression source1, Expression source2) {
1525private SqlNode VisitGroupBy(Expression sequence, LambdaExpression keyLambda, LambdaExpression elemLambda, LambdaExpression resultSelector) {
1626private SqlNode VisitAggregate(Expression sequence, LambdaExpression lambda, SqlNodeType aggType, Type returnType) {
1635SqlNode source = this.Visit(sequence);
1741private GroupInfo FindGroupInfo(SqlNode source) {
1776private SqlNode VisitContains(Expression sequence, Expression value) {
1778SqlNode seqNode = this.Visit(sequence);
1814private SqlNode VisitQuantifier(Expression sequence, LambdaExpression lambda, bool isAny) {
1818private SqlNode VisitQuantifier(SqlSelect select, LambdaExpression lambda, bool isAny) {
1858private SqlNode VisitMemberAccess(MemberExpression ma) {
1875private SqlNode VisitMethodCall(MethodCallExpression mc) {
1887SqlNode sn = null;
1992private SqlNode VisitMappedFunctionCall(MethodCallExpression mc) {
2031private SqlNode VisitSequenceOperatorCall(MethodCallExpression mc) {
2323private SqlNode VisitDataManipulationCall(MethodCallExpression mc) {
2371private SqlNode VisitFirst(Expression sequence, LambdaExpression lambda, bool isFirst) {
2723internal override SqlNode Visit(SqlNode node) {
2850internal override SqlNode VisitUnion(SqlUnion su) {
SqlClient\SqlProvider.cs (11)
834private ICompiledSubQuery CompileSubQuery(SqlNode query, Type elementType, ReadOnlyCollection<Me.SqlParameter> parameters) {
942private ICompiledSubQuery[] CompileSubQueries(SqlNode query) {
954internal ICompiledSubQuery[] Compile(SqlNode node) {
1290SqlNode query;
1296internal QueryInfo(SqlNode query, string commandText, ReadOnlyCollection<SqlParameterInfo> parameters, ResultShape resultShape, Type resultType) {
1303internal SqlNode Query {
1432SqlNode node = converter.ConvertOuter(query);
1438private QueryInfo[] BuildQuery(ResultShape resultShape, Type resultType, SqlNode node, ReadOnlyCollection<Me.SqlParameter> parentParameters, SqlNodeAnnotations annotations) {
1459binder.PreBinder = delegate(SqlNode n) {
1624private SqlSelect GetFinalSelect(SqlNode node) {
1636private IObjectReaderFactory GetReaderFactory(SqlNode node, Type elemType) {