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