SqlClient\Query\QueryConverter.cs (95)
54internal SqlSelect SelectWithGroup;
258private SqlSelect LockSelect(SqlSelect sel) {
274private SqlSelect VisitSequence(Expression exp) {
278private SqlSelect CoerceToSequence(SqlNode node) {
279SqlSelect select = node as SqlSelect;
404SqlSelect select = result as SqlSelect;
412private SqlSelect VisitSelect(Expression sequence, LambdaExpression selector) {
413SqlSelect source = this.VisitSequence(sequence);
420SqlSelect pselect = project as SqlSelect;
427SqlSelect inner = sub.Select;
459private SqlSelect VisitSelectMany(Expression sequence, LambdaExpression colSelector, LambdaExpression resultSelector) {
460SqlSelect seqSelect = this.VisitSequence(sequence);
482private SqlSelect VisitJoin(Expression outerSequence, Expression innerSequence, LambdaExpression outerKeySelector, LambdaExpression innerKeySelector, LambdaExpression resultSelector) {
483SqlSelect outerSelect = this.VisitSequence(outerSequence);
484SqlSelect innerSelect = this.VisitSequence(innerSequence);
502SqlSelect select = null;
514private SqlSelect VisitGroupJoin(Expression outerSequence, Expression innerSequence, LambdaExpression outerKeySelector, LambdaExpression innerKeySelector, LambdaExpression resultSelector) {
515SqlSelect outerSelect = this.VisitSequence(outerSequence);
516SqlSelect innerSelect = this.VisitSequence(innerSequence);
531SqlSelect select = new SqlSelect(innerRef, innerAlias, this.dominatingExpression);
543private SqlSelect VisitDefaultIfEmpty(Expression sequence) {
544SqlSelect select = this.VisitSequence(sequence);
557SqlSelect optSelect = new SqlSelect(opt, alias, this.dominatingExpression);
563SqlSelect selNull = new SqlSelect(litNull, null, this.dominatingExpression);
574private SqlSelect VisitOfType(Expression sequence, Type ofType) {
575SqlSelect select = this.LockSelect(this.VisitSequence(sequence));
627private SqlSelect VisitWhere(Expression sequence, LambdaExpression predicate) {
628SqlSelect select = this.LockSelect(this.VisitSequence(sequence));
642SqlSelect select = node as SqlSelect;
921private SqlSelect VisitDistinct(Expression sequence) {
922SqlSelect select = this.LockSelect(this.VisitSequence(sequence));
928private SqlSelect VisitTake(Expression sequence, Expression count) {
950SqlSelect select = this.VisitSequence(mce.Arguments[0]);
954SqlSelect select = this.VisitSequence(sequence);
981SqlSelect select = node as SqlSelect;
990SqlSelect selectLeft = union.Left as SqlSelect;
995SqlSelect selectRight = union.Right as SqlSelect;
1041private SqlSelect VisitSkip(Expression sequence, Expression skipCount) {
1052SqlSelect select = this.VisitSequence(sequence);
1056private SqlSelect GenerateSkipTake(SqlSelect sequence, SqlExpression skipExp, SqlExpression takeExp) {
1057SqlSelect select = this.LockSelect(sequence);
1077SqlSelect final = new SqlSelect(aref, alias, this.dominatingExpression);
1124SqlSelect dupsel = (SqlSelect)SqlDuplicator.Copy(select);
1130SqlSelect eqsel = new SqlSelect(dupRef, dupAlias, this.dominatingExpression);
1134SqlSelect final = new SqlSelect(aref, alias, this.dominatingExpression);
1171SqlSelect select = new SqlSelect(projection, alias, mce);
1404SqlSelect left = this.VisitSequence(source1);
1405SqlSelect right = this.VisitSequence(source2);
1409SqlSelect result = new SqlSelect(aref, alias, this.dominatingExpression);
1415SqlSelect left = this.VisitSequence(source1);
1416SqlSelect right = this.VisitSequence(source2);
1420SqlSelect result = new SqlSelect(aref, alias, this.dominatingExpression);
1431SqlSelect select1 = this.LockSelect(this.VisitSequence(source1));
1432SqlSelect select2 = this.VisitSequence(source2);
1442SqlSelect result = new SqlSelect(aref1, alias1, select1.SourceExpression);
1455SqlSelect select1 = this.LockSelect(this.VisitSequence(source1));
1456SqlSelect select2 = this.VisitSequence(source2);
1466SqlSelect result = new SqlSelect(aref1, alias1, select1.SourceExpression);
1484private SqlSelect VisitOrderBy(Expression sequence, LambdaExpression expression, SqlOrderType orderType) {
1492SqlSelect select = this.LockSelect(this.VisitSequence(sequence));
1507private SqlSelect VisitThenBy(Expression sequence, LambdaExpression expression, SqlOrderType orderType) {
1515SqlSelect select = this.VisitSequence(sequence);
1533SqlSelect seq = this.VisitSequence(sequence);
1544SqlSelect selDup = (SqlSelect)sd.Duplicate(seq);
1576SqlSelect selElem = new SqlSelect(elemExpr, selDupAlias, this.dominatingExpression);
1583SqlSelect gsel = new SqlSelect(new SqlSharedExpressionRef(keySubExpr), seqAlias, this.dominatingExpression);
1587SqlSelect result = null;
1594SqlSelect keyGroupSel = new SqlSelect(keyGroup, gselAlias, this.dominatingExpression);
1636SqlSelect select = this.CoerceToSequence(source);
1686SqlSelect sel = new SqlSelect(
1731SqlSelect sel = new SqlSelect(
1749SqlSelect select = alias.Node as SqlSelect;
1818private SqlNode VisitQuantifier(SqlSelect select, LambdaExpression lambda, bool isAny) {
1831SqlSelect sel = new SqlSelect(aref, alias, this.dominatingExpression);
1838SqlSelect sel = new SqlSelect(aref, alias, this.dominatingExpression);
2372SqlSelect select = this.LockSelect(this.VisitSequence(sequence));
2441SqlSelect result = null;
2442SqlSelect preResult = null;
2581SqlSelect ss = new RetypeCheckClause().VisitSelect(this.VisitSequence(seq));
2612SqlSelect select = null;
2658SqlSelect ss = new RetypeCheckClause().VisitSelect(this.VisitSequence(seq));
2751internal override SqlSelect VisitSelect(SqlSelect select) {