27 writes to Selection
System.Data.Linq (27)
SqlClient\Common\SqlFactory.cs (1)
599sel.Selection = new SqlOptionalValue(
SqlClient\Common\SqlNode.cs (1)
287this.Selection = selection;
SqlClient\Common\SqlVisitor.cs (1)
453select.Selection = this.VisitExpression(select.Selection);
SqlClient\Query\QueryConverter.cs (4)
431inner.Selection = new SqlOptionalValue( 443inner.Selection = sql.Unary(SqlNodeType.OuterJoinedValue, inner.Selection); 578select.Selection = new SqlUnary(SqlNodeType.Treat, ofType, typeProvider.From(ofType), aref, this.dominatingExpression); 2790select.Selection = this.VisitExpression(select.Selection);
SqlClient\Query\SqlBinder.cs (9)
891newSelect.Selection = rexp; 892newSelect.Selection = this.columnizer.ColumnizeSelection(newSelect.Selection); 893newSelect.Selection = this.ConvertLinks(newSelect.Selection); 903newSelect.Selection = this.ConvertLinks(this.VisitExpression(rref)); 965sel.Selection = this.ConvertLinks(this.VisitExpression(aref)); 975sel.Selection = this.ConvertLinks(this.VisitExpression(aref)); 1174select.Selection = this.VisitExpression(select.Selection); 1175select.Selection = this.columnizer.ColumnizeSelection(select.Selection); 1177select.Selection = ConvertLinks(select.Selection);
SqlClient\Query\SqlDeflator.cs (4)
42select.Selection = sDeflator.VisitExpression(select.Selection); 135select.Selection = this.VisitExpression(select.Selection); 432select.Selection = this.VisitExpression(select.Selection); 454aselect.Selection = new ColumnMapper(map).VisitExpression(select.Selection);
SqlClient\Query\SqlFlattener.cs (2)
58select.Selection = this.FlattenSelection(select.Row, false, select.Selection); 69select.Selection = new SqlNop(select.Selection.ClrType, select.Selection.SqlType, select.SourceExpression);
SqlClient\Query\SqlMethodCallConverter.cs (1)
645select.Selection = this.skipper.VisitExpression(select.Selection);
SqlClient\Query\SqlMultiplexer.cs (1)
122select.Selection = this.VisitExpression(select.Selection);
SqlClient\Query\SqlParameterizer.cs (1)
167select.Selection = this.VisitExpression(select.Selection);
SqlClient\Query\SqlReorderer.cs (1)
171select.Selection = this.VisitExpression(select.Selection);
SqlClient\Query\SqlResolver.cs (1)
106select.Selection = this.VisitExpression(select.Selection);
67 references to Selection
System.Data.Linq (67)
SqlClient\Common\SqlFactory.cs (6)
542clrType = select.Selection.ClrType; 543sqlType = select.Selection.SqlType; 547clrType = typeof(List<>).MakeGenericType(select.Selection.ClrType); 597if (sel != null && sel.Selection != null && sel.Selection.NodeType != SqlNodeType.OptionalValue) { 605sel.Selection
SqlClient\Common\SqlNode.cs (4)
602return sel.Selection.ClrType; 618return sel.Selection.SqlType; 727return sel.Selection.ClrType; 737return sel.Selection.SqlType;
SqlClient\Common\SqlVisitor.cs (1)
453select.Selection = this.VisitExpression(select.Selection);
SqlClient\Query\QueryConverter.cs (23)
259if (sel.Selection.NodeType != SqlNodeType.AliasRef || 439sql.Unary(SqlNodeType.OuterJoinedValue, inner.Selection) 443inner.Selection = sql.Unary(SqlNodeType.OuterJoinedValue, inner.Selection); 576SqlAliasRef aref = (SqlAliasRef)select.Selection; 581aref = (SqlAliasRef)select.Selection; 630this.map[predicate.Parameters[0]] = (SqlAliasRef)select.Selection; 983return CanSkipOnSelection(select.Selection); 992left = CanSkipOnSelection(selectLeft.Selection); 997right = CanSkipOnSelection(selectRight.Selection); 1096if (!CanSkipOnSelection(select.Selection)) { 1494if (select.Selection.NodeType != SqlNodeType.AliasRef || select.OrderBy.Count > 0) { 1500this.map[expression.Parameters[0]] = (SqlAliasRef)select.Selection; 1516System.Diagnostics.Debug.Assert(select.Selection.NodeType == SqlNodeType.AliasRef); 1518this.map[expression.Parameters[0]] = (SqlAliasRef)select.Selection; 1662if (select.Selection.SqlType.IsRuntimeOnlyType && !IsGrouping(sequence.Type) && !isCount && lambda == null) { 1751return this.FindGroupInfo(select.Selection); 2374this.map[lambda.Parameters[0]] = (SqlAliasRef)select.Selection; 2383SqlNodeType subType = (this.typeProvider.From(select.Selection.ClrType).CanBeColumn) ? SqlNodeType.ScalarSubSelect : SqlNodeType.Element; 2600sql.Member(ss.Selection, mmi.Member), 2755this.AddIdentityMembers(select.Selection.ClrType.GetProperties()); 2772switch (select.Selection.NodeType) { 2780this.IsValid &= IsColumnMatch(column, select.Selection); 2790select.Selection = this.VisitExpression(select.Selection);
SqlClient\Query\SqlBinder.cs (9)
892newSelect.Selection = this.columnizer.ColumnizeSelection(newSelect.Selection); 893newSelect.Selection = this.ConvertLinks(newSelect.Selection); 960if (ss.NodeType == SqlNodeType.Element && ss.Select.Selection.NodeType == SqlNodeType.Multiset) { 961SqlSubSelect msub = (SqlSubSelect)ss.Select.Selection; 970else if (ss.NodeType == SqlNodeType.Element && ss.Select.Selection.NodeType == SqlNodeType.Element) { 971SqlSubSelect msub = (SqlSubSelect)ss.Select.Selection; 1174select.Selection = this.VisitExpression(select.Selection); 1175select.Selection = this.columnizer.ColumnizeSelection(select.Selection); 1177select.Selection = ConvertLinks(select.Selection);
SqlClient\Query\SqlDeflator.cs (4)
42select.Selection = sDeflator.VisitExpression(select.Selection); 135select.Selection = this.VisitExpression(select.Selection); 432select.Selection = this.VisitExpression(select.Selection); 454aselect.Selection = new ColumnMapper(map).VisitExpression(select.Selection);
SqlClient\Query\SqlDuplicator.cs (1)
226SqlExpression selection = this.VisitExpression(select.Selection);
SqlClient\Query\SqlExpander.cs (3)
65return this.VisitExpression(ss.Selection); 103SqlAliasRef aref = sel.Selection as SqlAliasRef; 108exprs.Add(sel.Selection);
SqlClient\Query\SqlFlattener.cs (3)
58select.Selection = this.FlattenSelection(select.Row, false, select.Selection); 69select.Selection = new SqlNop(select.Selection.ClrType, select.Selection.SqlType, select.SourceExpression);
SqlClient\Query\SqlFormatter.cs (1)
799this.Visit(ss.Selection);
SqlClient\Query\SqlMethodCallConverter.cs (1)
645select.Selection = this.skipper.VisitExpression(select.Selection);
SqlClient\Query\SqlMultiplexer.cs (4)
47&& !MultisetChecker.HasMultiset(sms.Select.Selection) 58SqlExpression expr = (SqlExpression)SqlDuplicator.Copy(sms.Select.Selection); 122select.Selection = this.VisitExpression(select.Selection); 127if (select.IsDistinct && HierarchyChecker.HasHierarchy(select.Selection)) {
SqlClient\Query\SqlParameterizer.cs (1)
167select.Selection = this.VisitExpression(select.Selection);
SqlClient\Query\SqlReorderer.cs (1)
171select.Selection = this.VisitExpression(select.Selection);
SqlClient\Query\SqlResolver.cs (1)
106select.Selection = this.VisitExpression(select.Selection);
SqlClient\Query\SqlRetyper.cs (1)
152ss.SetSqlType(ss.Select.Selection.SqlType);
SqlClient\Query\TypeSource.cs (1)
113VisitExpression(select.Selection);
SqlClient\SqlProvider.cs (2)
961this.Visit(select.Selection); 1643projection = sel.Selection;