63 references to SqlJoinType
System.Data.Linq (63)
SqlClient\Common\SqlFactory.cs (2)
593
internal SqlJoin MakeJoin(
SqlJoinType
joinType, SqlSource location, SqlAlias alias, SqlExpression condition, Expression source) {
595
if (joinType ==
SqlJoinType
.LeftOuter) {
SqlClient\Common\SqlNode.cs (3)
630
private
SqlJoinType
joinType;
635
internal SqlJoin(
SqlJoinType
type, SqlSource left, SqlSource right, SqlExpression cond, Expression sourceExpression)
643
internal
SqlJoinType
JoinType {
SqlClient\Query\QueryConverter.cs (5)
445
SqlJoin join = new SqlJoin(
SqlJoinType
.OuterApply, alias, innerAlias, null, this.dominatingExpression);
469
SqlJoin join = new SqlJoin(
SqlJoinType
.CrossApply, seqAlias, selAlias, null, this.dominatingExpression);
504
SqlJoin join = new SqlJoin(
SqlJoinType
.Inner, outerAlias, innerAlias, condition, this.dominatingExpression);
507
SqlJoin join = new SqlJoin(
SqlJoinType
.Cross, outerAlias, innerAlias, null, this.dominatingExpression);
566
SqlJoin join = new SqlJoin(
SqlJoinType
.OuterApply, aliasNull, alias, null, this.dominatingExpression);
SqlClient\Query\SqlBinder.cs (13)
881
this.currentSelect.From = sql.MakeJoin(
SqlJoinType
.OuterApply, this.currentSelect.From, alias, null, sub.SourceExpression);
904
newSelect.From = new SqlJoin(
SqlJoinType
.CrossApply, alias, ralias, null, m.SourceExpression);
966
sel.From = new SqlJoin(
SqlJoinType
.CrossApply, sel.From, alias, null, ss.SourceExpression);
976
sel.From = new SqlJoin(
SqlJoinType
.CrossApply, sel.From, alias, null, ss.SourceExpression);
1110
if (join.JoinType ==
SqlJoinType
.CrossApply ||
1111
join.JoinType ==
SqlJoinType
.OuterApply) {
1372
SqlJoinType
joinType = (link.Member.Association.IsForeignKey && !link.Member.Association.IsNullable)
1373
?
SqlJoinType
.Inner :
SqlJoinType
.LeftOuter;
1379
if (joinType ==
SqlJoinType
.Inner && this.IsOuterDependent(this.currentSelect.From, sa, where))
1381
joinType =
SqlJoinType
.LeftOuter;
1417
bool rightIsOuterDependent = join.JoinType ==
SqlJoinType
.LeftOuter || join.JoinType ==
SqlJoinType
.OuterApply;
SqlClient\Query\SqlCrossApplyToCrossJoin.cs (2)
28
if (join.JoinType ==
SqlJoinType
.CrossApply) {
41
join.JoinType =
SqlJoinType
.Cross;
SqlClient\Query\SqlDeflator.cs (5)
321
case
SqlJoinType
.Cross:
322
case
SqlJoinType
.Inner:
325
case
SqlJoinType
.LeftOuter:
326
case
SqlJoinType
.CrossApply:
327
case
SqlJoinType
.OuterApply:
SqlClient\Query\SqlFormatter.cs (15)
849
return join.JoinType ==
SqlJoinType
.Cross &&
884
case
SqlJoinType
.CrossApply:
887
case
SqlJoinType
.Cross:
890
case
SqlJoinType
.Inner:
893
case
SqlJoinType
.LeftOuter:
896
case
SqlJoinType
.OuterApply:
902
(rightJoin.JoinType ==
SqlJoinType
.Cross
903
&& join.JoinType !=
SqlJoinType
.CrossApply
904
&& join.JoinType !=
SqlJoinType
.OuterApply)) {
919
internal bool RequiresOnCondition(
SqlJoinType
joinType) {
921
case
SqlJoinType
.CrossApply:
922
case
SqlJoinType
.Cross:
923
case
SqlJoinType
.OuterApply:
925
case
SqlJoinType
.Inner:
926
case
SqlJoinType
.LeftOuter:
SqlClient\Query\SqlLiftIndependentRowExpressions.cs (1)
84
if (join.JoinType ==
SqlJoinType
.CrossApply) {
SqlClient\Query\SqlLiftWhereClauses.cs (5)
77
case
SqlJoinType
.Cross:
78
case
SqlJoinType
.CrossApply:
79
case
SqlJoinType
.Inner:
81
case
SqlJoinType
.LeftOuter:
82
case
SqlJoinType
.OuterApply: {
SqlClient\Query\SqlMultiplexer.cs (1)
53
SqlJoin join = new SqlJoin(
SqlJoinType
.OuterApply, this.outerSelect.From, alias, null, sms.SourceExpression);
SqlClient\Query\SqlOuterApplyReducer.cs (6)
32
if (join.JoinType ==
SqlJoinType
.OuterApply) {
44
join.JoinType =
SqlJoinType
.LeftOuter;
57
else if (join.JoinType ==
SqlJoinType
.CrossApply) {
100
join.JoinType =
SqlJoinType
.LeftOuter;
111
while (join.JoinType ==
SqlJoinType
.LeftOuter) {
168
if (join == null || join.JoinType !=
SqlJoinType
.LeftOuter)
SqlClient\Query\SqlResolver.cs (4)
139
case
SqlJoinType
.CrossApply:
140
case
SqlJoinType
.OuterApply: {
214
case
SqlJoinType
.CrossApply:
215
case
SqlJoinType
.OuterApply: {
SqlClient\Query\SqlRewriteScalarSubqueries.cs (1)
38
this.currentSelect.From = new SqlJoin(
SqlJoinType
.OuterApply, this.currentSelect.From, alias, null, ss.SourceExpression);