48 instantiations of SqlAlias
System.Data.Linq (48)
SqlClient\Query\QueryConverter.cs (30)
267
SqlAlias alias = new
SqlAlias
(sel);
312
SqlAlias sa = new
SqlAlias
(sqlExpr);
414
SqlAlias alias = new
SqlAlias
(source);
428
SqlAlias innerAlias = new
SqlAlias
(inner);
461
SqlAlias seqAlias = new
SqlAlias
(seqSelect);
467
SqlAlias selAlias = new
SqlAlias
(colSelectorNode);
486
SqlAlias outerAlias = new
SqlAlias
(outerSelect);
488
SqlAlias innerAlias = new
SqlAlias
(innerSelect);
518
SqlAlias outerAlias = new
SqlAlias
(outerSelect);
520
SqlAlias innerAlias = new
SqlAlias
(innerSelect);
545
SqlAlias alias = new
SqlAlias
(select);
559
alias = new
SqlAlias
(optSelect);
564
SqlAlias aliasNull = new
SqlAlias
(selNull);
1067
SqlAlias alias = new
SqlAlias
(select);
1127
SqlAlias dupAlias = new
SqlAlias
(dupsel);
1165
SqlAlias alias = new
SqlAlias
(functionCall);
1407
SqlAlias alias = new
SqlAlias
(union);
1418
SqlAlias alias = new
SqlAlias
(union);
1434
SqlAlias alias1 = new
SqlAlias
(select1);
1437
SqlAlias alias2 = new
SqlAlias
(select2);
1458
SqlAlias alias1 = new
SqlAlias
(select1);
1461
SqlAlias alias2 = new
SqlAlias
(select2);
1495
SqlAlias alias = new
SqlAlias
(select);
1535
SqlAlias seqAlias = new
SqlAlias
(seq);
1547
SqlAlias selDupAlias = new
SqlAlias
(selDup);
1585
SqlAlias gselAlias = new
SqlAlias
(gsel);
1595
SqlAlias kgAlias = new
SqlAlias
(keyGroupSel);
1637
SqlAlias alias = new
SqlAlias
(select);
1819
SqlAlias alias = new
SqlAlias
(select);
2443
SqlAlias tableAlias = new
SqlAlias
(tab);
SqlClient\Query\SqlBinder.cs (7)
858
SqlAlias alias = new
SqlAlias
(sub.Select);
901
SqlAlias ralias = new
SqlAlias
(rselect);
962
SqlAlias alias = new
SqlAlias
(msub.Select);
972
SqlAlias alias = new
SqlAlias
(msub.Select);
1103
this.currentSelect.From = new
SqlAlias
(simple);
1378
SqlAlias sa = new
SqlAlias
(ss.Select);
1609
SqlAlias alias = new
SqlAlias
(union);
SqlClient\Query\SqlDuplicator.cs (1)
65
SqlAlias n = new
SqlAlias
(a.Node);
SqlClient\Query\SqlLiftIndependentRowExpressions.cs (1)
112
return new
SqlAlias
(ns);
SqlClient\Query\SqlMultiplexer.cs (2)
52
SqlAlias alias = new
SqlAlias
(sms.Select);
62
SqlAlias copyAlias = new
SqlAlias
(copySelect);
SqlClient\Query\SqlOuterApplyReducer.cs (1)
152
return new
SqlAlias
(ns);
SqlClient\Query\SqlReorderer.cs (1)
264
this.currentSelect.From = new
SqlAlias
(select);
SqlClient\Query\SqlRewriteScalarSubqueries.cs (1)
37
SqlAlias alias = new
SqlAlias
(innerSelect);
SqlClient\Query\Translator.cs (3)
34
SqlAlias tableAlias = new
SqlAlias
(table);
294
SqlAlias alias = new
SqlAlias
(sub.Select);
302
SqlAlias alias = new
SqlAlias
(sub.Select);
SqlClient\Reader\ObjectReaderCompiler.cs (1)
250
SqlAlias newalias = new
SqlAlias
(new SqlNop(aref.ClrType, aref.SqlType, null));
163 references to SqlAlias
System.Data.Linq (163)
SqlClient\Common\SqlFactory.cs (1)
593
internal SqlJoin MakeJoin(SqlJoinType joinType, SqlSource location,
SqlAlias
alias, SqlExpression condition, Expression source) {
SqlClient\Common\SqlNode.cs (5)
573
private
SqlAlias
alias;
575
internal SqlAliasRef(
SqlAlias
alias)
582
internal
SqlAlias
Alias {
1471
private
SqlAlias
alias;
1497
internal
SqlAlias
Alias {
SqlClient\Common\SqlVisitor.cs (3)
83
result = this.VisitAlias((
SqlAlias
)node);
300
internal virtual
SqlAlias
VisitAlias(
SqlAlias
a) {
SqlClient\Query\QueryConverter.cs (34)
267
SqlAlias
alias = new SqlAlias(sel);
312
SqlAlias
sa = new SqlAlias(sqlExpr);
414
SqlAlias
alias = new SqlAlias(source);
428
SqlAlias
innerAlias = new SqlAlias(inner);
461
SqlAlias
seqAlias = new SqlAlias(seqSelect);
467
SqlAlias
selAlias = new SqlAlias(colSelectorNode);
486
SqlAlias
outerAlias = new SqlAlias(outerSelect);
488
SqlAlias
innerAlias = new SqlAlias(innerSelect);
518
SqlAlias
outerAlias = new SqlAlias(outerSelect);
520
SqlAlias
innerAlias = new SqlAlias(innerSelect);
545
SqlAlias
alias = new SqlAlias(select);
564
SqlAlias
aliasNull = new SqlAlias(selNull);
1067
SqlAlias
alias = new SqlAlias(select);
1127
SqlAlias
dupAlias = new SqlAlias(dupsel);
1165
SqlAlias
alias = new SqlAlias(functionCall);
1407
SqlAlias
alias = new SqlAlias(union);
1418
SqlAlias
alias = new SqlAlias(union);
1434
SqlAlias
alias1 = new SqlAlias(select1);
1437
SqlAlias
alias2 = new SqlAlias(select2);
1458
SqlAlias
alias1 = new SqlAlias(select1);
1461
SqlAlias
alias2 = new SqlAlias(select2);
1495
SqlAlias
alias = new SqlAlias(select);
1535
SqlAlias
seqAlias = new SqlAlias(seq);
1547
SqlAlias
selDupAlias = new SqlAlias(selDup);
1585
SqlAlias
gselAlias = new SqlAlias(gsel);
1595
SqlAlias
kgAlias = new SqlAlias(keyGroupSel);
1637
SqlAlias
alias = new SqlAlias(select);
1646
(mce != null) && IsSequenceOperatorCall(mce, "Select") && select.From is
SqlAlias
) {
1651
alias = (
SqlAlias
)select.From;
1747
SqlAlias
alias = source as
SqlAlias
;
1819
SqlAlias
alias = new SqlAlias(select);
1828
private SqlExpression GenerateQuantifier(
SqlAlias
alias, SqlExpression cond, bool isAny) {
2443
SqlAlias
tableAlias = new SqlAlias(tab);
SqlClient\Query\SqlAliaser.cs (4)
19
SqlAlias
alias;
24
internal override
SqlAlias
VisitAlias(
SqlAlias
sqlAlias) {
25
SqlAlias
save = this.alias;
SqlClient\Query\SqlAliasesReferenced.cs (5)
16
internal IEnumerable<
SqlAlias
> aliases;
27
internal
SqlAlias
VisitAliasConsumed(
SqlAlias
a) {
32
foreach (
SqlAlias
alias in aliases)
61
internal static bool ReferencesAny(SqlNode node, IEnumerable<
SqlAlias
> aliases) {
SqlClient\Query\SqlBinder.cs (25)
95
SqlAlias
currentAlias;
96
Dictionary<
SqlAlias
,
SqlAlias
> outerAliasMap;
114
this.outerAliasMap = new Dictionary<
SqlAlias
,
SqlAlias
>();
858
SqlAlias
alias = new SqlAlias(sub.Select);
901
SqlAlias
ralias = new SqlAlias(rselect);
962
SqlAlias
alias = new SqlAlias(msub.Select);
972
SqlAlias
alias = new SqlAlias(msub.Select);
1022
internal override
SqlAlias
VisitAlias(
SqlAlias
a) {
1023
SqlAlias
saveAlias = this.currentAlias;
1135
SqlAlias
alias = source as
SqlAlias
;
1378
SqlAlias
sa = new SqlAlias(ss.Select);
1395
private bool IsOuterDependent(SqlSource location,
SqlAlias
alias, SqlExpression where)
1397
HashSet<
SqlAlias
> consumed = SqlGatherConsumedAliases.Gather(where);
1399
HashSet<
SqlAlias
> produced;
1406
private bool IsOuterDependent(bool isOuterDependent, SqlSource location, HashSet<
SqlAlias
> consumed, out HashSet<
SqlAlias
> produced)
1416
HashSet<
SqlAlias
> rightProduced;
1424
SqlAlias
a = location as
SqlAlias
;
1550
SqlAlias
outerAlias;
1609
SqlAlias
alias = new SqlAlias(union);
SqlClient\Query\SqlComparer.cs (2)
109
return AreEqual(((
SqlAlias
)node1).Node, ((
SqlAlias
)node2).Node);
SqlClient\Query\SqlCrossApplyToCrossJoin.cs (2)
30
HashSet<
SqlAlias
> p = SqlGatherProducedAliases.Gather(join.Left);
32
HashSet<
SqlAlias
> c = SqlGatherConsumedAliases.Gather(join.Right);
SqlClient\Query\SqlDeflator.cs (16)
271
Dictionary<
SqlAlias
,
SqlAlias
> removedMap;
274
this.removedMap = new Dictionary<
SqlAlias
,
SqlAlias
>();
278
SqlAlias
alias = aref.Alias;
279
SqlAlias
value;
307
SqlAlias
alias = node as
SqlAlias
;
330
SqlAlias
a = (
SqlAlias
)join.Right;
356
return node is
SqlAlias
;
371
SqlAlias
alias = node as
SqlAlias
;
443
SqlSelect aselect = (SqlSelect)((
SqlAlias
)select.From).Node;
473
SqlAlias
alias = node as
SqlAlias
;
SqlClient\Query\SqlDuplicator.cs (5)
64
internal override
SqlAlias
VisitAlias(
SqlAlias
a) {
65
SqlAlias
n = new SqlAlias(a.Node);
75
return new SqlAliasRef((
SqlAlias
)this.Visit(aref.Alias));
147
n.Alias = (
SqlAlias
)this.Visit(col.Alias);
SqlClient\Query\SqlFormatter.cs (14)
54
internal Dictionary<SqlColumn,
SqlAlias
> aliasMap = new Dictionary<SqlColumn,
SqlAlias
>();
389
SqlAlias
alias = c.Alias;
583
internal override
SqlAlias
VisitAlias(
SqlAlias
alias) {
625
private void WriteAliasName(
SqlAlias
alias) {
853
SqlAlias
alias = node as
SqlAlias
;
1434
Dictionary<SqlColumn,
SqlAlias
> aliasMap;
1435
SqlAlias
currentAlias;
1437
internal AliasMapper(Dictionary<SqlColumn,
SqlAlias
> aliasMap) {
1441
internal override
SqlAlias
VisitAlias(
SqlAlias
a) {
1442
SqlAlias
save = this.currentAlias;
SqlClient\Query\SqlGatherConsumedAliases.cs (4)
10
internal static HashSet<
SqlAlias
> Gather(SqlNode node) {
17
internal HashSet<
SqlAlias
> Consumed = new HashSet<
SqlAlias
>();
19
internal void VisitAliasConsumed(
SqlAlias
a) {
SqlClient\Query\SqlGatherProducedAliases.cs (5)
10
internal static HashSet<
SqlAlias
> Gather(SqlNode node) {
17
internal HashSet<
SqlAlias
> Produced = new HashSet<
SqlAlias
>();
18
internal override
SqlAlias
VisitAlias(
SqlAlias
a) {
SqlClient\Query\SqlLiftIndependentRowExpressions.cs (1)
31
internal IEnumerable<
SqlAlias
> LeftProduction;
SqlClient\Query\SqlMultiplexer.cs (2)
52
SqlAlias
alias = new SqlAlias(sms.Select);
62
SqlAlias
copyAlias = new SqlAlias(copySelect);
SqlClient\Query\SqlNamer.cs (4)
22
SqlAlias
alias;
36
internal override
SqlAlias
VisitAlias(
SqlAlias
sqlAlias) {
37
SqlAlias
save = this.alias;
SqlClient\Query\SqlOuterApplyReducer.cs (21)
34
HashSet<
SqlAlias
> leftProducedAliases = SqlGatherProducedAliases.Gather(join.Left);
81
HashSet<
SqlAlias
> leftProducedAliases = SqlGatherProducedAliases.Gather(join.Left);
156
SqlAlias
alias = source as
SqlAlias
;
172
HashSet<
SqlAlias
> p = SqlGatherProducedAliases.Gather(join.Left);
173
HashSet<
SqlAlias
> c = SqlGatherConsumedAliases.Gather(join.Right);
184
SqlAlias
alias = source as
SqlAlias
;
196
SqlAlias
alias = source as
SqlAlias
;
233
HashSet<
SqlAlias
> aliases;
237
internal SqlAliasesReferenced(HashSet<
SqlAlias
> aliases) {
274
internal static bool IsDependent(SqlNode node, HashSet<
SqlAlias
> aliasesToCheck, HashSet<SqlExpression> ignoreExpressions) {
280
HashSet<
SqlAlias
> aliasesToCheck;
284
internal Visitor(HashSet<
SqlAlias
> aliasesToCheck, HashSet<SqlExpression> ignoreExpressions) {
316
internal static bool CanLift(SqlSource source, HashSet<
SqlAlias
> aliasesForLifting, HashSet<SqlExpression> liftedExpressions) {
324
internal static SqlExpression Lift(SqlSource source, HashSet<
SqlAlias
> aliasesForLifting) {
341
internal Visitor(bool doLifting, HashSet<
SqlAlias
> aliasesForLifting, HashSet<SqlExpression> liftedExpressions) {
384
internal static bool CanLift(SqlSource source, HashSet<
SqlAlias
> aliasesForLifting, HashSet<SqlExpression> liftedExpressions) {
390
internal static List<List<SqlColumn>> Lift(SqlSource source, HashSet<
SqlAlias
> aliasesForLifting, HashSet<SqlExpression> liftedExpressions) {
406
internal Visitor(bool doLifting, HashSet<
SqlAlias
> aliasesForLifting, HashSet<SqlExpression> liftedExpressions) {
SqlClient\Query\SqlReorderer.cs (2)
87
internal override
SqlAlias
VisitAlias(
SqlAlias
a) {
SqlClient\Query\SqlRewriteScalarSubqueries.cs (1)
37
SqlAlias
alias = new SqlAlias(innerSelect);
SqlClient\Query\SqlUnionizer.cs (2)
53
SqlAlias
alias = source as
SqlAlias
;
SqlClient\Query\Translator.cs (3)
34
SqlAlias
tableAlias = new SqlAlias(table);
294
SqlAlias
alias = new SqlAlias(sub.Select);
302
SqlAlias
alias = new SqlAlias(sub.Select);
SqlClient\Reader\ObjectReaderCompiler.cs (2)
249
SqlAlias
alias = aref.Alias;
250
SqlAlias
newalias = new SqlAlias(new SqlNop(aref.ClrType, aref.SqlType, null));