5 writes to dominatingExpression
System.Data.Linq (5)
SqlClient\Query\QueryConverter.cs (5)
97
this.
dominatingExpression
= node;
138
this.
dominatingExpression
= dominantExpression;
151
this.
dominatingExpression
= ChooseBestDominatingExpression(this.dominatingExpression, node);
232
this.
dominatingExpression
= save;
2393
this.
dominatingExpression
= item;
93 references to dominatingExpression
System.Data.Linq (93)
SqlClient\Query\QueryConverter.cs (93)
117
retNode = new SqlSelect(sqlExpression, null, this.
dominatingExpression
);
119
retNode = new SqlIncludeScope(retNode, this.
dominatingExpression
);
150
Expression save = this.
dominatingExpression
;
151
this.dominatingExpression = ChooseBestDominatingExpression(this.
dominatingExpression
, node);
269
return new SqlSelect(aref, alias, this.
dominatingExpression
);
314
return new SqlSelect(aref, sa, this.
dominatingExpression
);
351
return this.sql.ValueFromObject(invokeResult, invoke.Type, true, this.
dominatingExpression
);
359
var sca = new SqlClientArray(typeof(object[]), this.typeProvider.From(typeof(object[])), args, this.
dominatingExpression
);
360
return sql.MethodCall(invoke.Type, typeof(Delegate).GetMethod("DynamicInvoke"), expr, new SqlExpression[] {sca}, this.
dominatingExpression
);
389
SqlClientParameter cp = new SqlClientParameter(p.Type, this.typeProvider.From(p.Type), accessor, this.
dominatingExpression
);
422
return new SqlSelect(sql.SubSelect(SqlNodeType.Multiset, pselect, selector.Body.Type), alias, this.
dominatingExpression
);
436
sql.Value(typeof(int?), this.typeProvider.From(typeof(int)), 1, false, this.
dominatingExpression
)
445
SqlJoin join = new SqlJoin(SqlJoinType.OuterApply, alias, innerAlias, null, this.
dominatingExpression
);
446
return new SqlSelect(innerRef, join, this.
dominatingExpression
);
451
return new SqlSelect(expr, alias, this.
dominatingExpression
);
469
SqlJoin join = new SqlJoin(SqlJoinType.CrossApply, seqAlias, selAlias, null, this.
dominatingExpression
);
479
return new SqlSelect(projection, join, this.
dominatingExpression
);
504
SqlJoin join = new SqlJoin(SqlJoinType.Inner, outerAlias, innerAlias, condition, this.
dominatingExpression
);
505
select = new SqlSelect(result, join, this.
dominatingExpression
);
507
SqlJoin join = new SqlJoin(SqlJoinType.Cross, outerAlias, innerAlias, null, this.
dominatingExpression
);
508
select = new SqlSelect(result, join, this.
dominatingExpression
);
531
SqlSelect select = new SqlSelect(innerRef, innerAlias, this.
dominatingExpression
);
540
return new SqlSelect(result, outerAlias, this.
dominatingExpression
);
552
sql.Value(typeof(int?), this.typeProvider.From(typeof(int)), 1, false, this.
dominatingExpression
)
557
SqlSelect optSelect = new SqlSelect(opt, alias, this.
dominatingExpression
);
562
SqlExpression litNull = sql.TypedLiteralNull(typeof(string), this.
dominatingExpression
);
563
SqlSelect selNull = new SqlSelect(litNull, null, this.
dominatingExpression
);
566
SqlJoin join = new SqlJoin(SqlJoinType.OuterApply, aliasNull, alias, null, this.
dominatingExpression
);
568
return new SqlSelect(aliasRef, join, this.
dominatingExpression
);
578
select.Selection = new SqlUnary(SqlNodeType.Treat, ofType, typeProvider.From(ofType), aref, this.
dominatingExpression
);
585
sql.Unary(SqlNodeType.IsNotNull, aref, this.
dominatingExpression
)
620
result = sql.Unary(SqlNodeType.IsNotNull, new SqlUnary(SqlNodeType.Treat, ofType, typeProvider.From(ofType), expr, this.
dominatingExpression
), this.
dominatingExpression
);
678
this.
dominatingExpression
688
return sql.MethodCall(c.Type, c.Method, null, new SqlExpression[] { exp },
dominatingExpression
);
727
return new SqlLift(type, expr, this.
dominatingExpression
);
789
return this.translator.BuildDefaultQuery(metaTable.RowType, this.allowDeferred, link, this.
dominatingExpression
);
800
return sql.TypedLiteralNull(type, this.
dominatingExpression
);
805
return sql.ValueFromObject(cons.Value, type, true, this.
dominatingExpression
);
818
return sql.SearchedCase(whens.ToArray(), @else, this.
dominatingExpression
);
845
SqlNew tb = sql.New(mt, qn.Constructor, args, PropertyOrFieldOf(qn.Members), null, this.
dominatingExpression
);
887
SqlNew tb = sql.New(mt, qn.Constructor, args, PropertyOrFieldOf(qn.Members), members, this.
dominatingExpression
);
1072
SqlColumn rowNumber = new SqlColumn("ROW_NUMBER", sql.RowNumber(new List<SqlOrderExpression>(), this.
dominatingExpression
));
1077
SqlSelect final = new SqlSelect(aref, alias, this.
dominatingExpression
);
1085
this.
dominatingExpression
1130
SqlSelect eqsel = new SqlSelect(dupRef, dupAlias, this.
dominatingExpression
);
1134
SqlSelect final = new SqlSelect(aref, alias, this.
dominatingExpression
);
1135
final.Where = sql.Unary(SqlNodeType.Not, ss, this.
dominatingExpression
);
1245
SqlUserQuery suq = new SqlUserQuery(query, null, args, this.
dominatingExpression
);
1253
SqlUserColumn col = new SqlUserColumn(elementType, typeProvider.From(elementType), suq, "", false, this.
dominatingExpression
);
1259
SqlUserRow rowExp = new SqlUserRow(mType.InheritanceRoot, this.typeProvider.GetApplicationType((int)ConverterSpecialTypes.Row), suq, this.
dominatingExpression
);
1260
suq.Projection = this.translator.BuildProjection(rowExp, mType, this.allowDeferred, null, this.
dominatingExpression
);
1270
return sql.MethodCall(u.Type, u.Method, null, new SqlExpression[] { exp },
dominatingExpression
);
1277
result = sql.Unary(SqlNodeType.Negate, exp, this.
dominatingExpression
);
1281
result = sql.Unary(SqlNodeType.Not, exp, this.
dominatingExpression
);
1284
result = sql.Unary(SqlNodeType.BitNot, exp, this.
dominatingExpression
);
1288
result = sql.Unary(SqlNodeType.Treat, exp, this.
dominatingExpression
);
1301
return sql.MethodCall(b.Type, b.Method, null, new SqlExpression[] { left, right },
dominatingExpression
);
1386
return sql.SearchedCase(whens.ToArray(), (SqlExpression)dup.Duplicate(left), this.
dominatingExpression
);
1409
SqlSelect result = new SqlSelect(aref, alias, this.
dominatingExpression
);
1420
SqlSelect result = new SqlSelect(aref, alias, this.
dominatingExpression
);
1497
select = new SqlSelect(aref, alias, this.
dominatingExpression
);
1576
SqlSelect selElem = new SqlSelect(elemExpr, selDupAlias, this.
dominatingExpression
);
1583
SqlSelect gsel = new SqlSelect(new SqlSharedExpressionRef(keySubExpr), seqAlias, this.
dominatingExpression
);
1593
SqlExpression keyGroup = new SqlGrouping(elementType, this.typeProvider.From(elementType), keyExpr, ss, this.
dominatingExpression
);
1594
SqlSelect keyGroupSel = new SqlSelect(keyGroup, gselAlias, this.
dominatingExpression
);
1605
result = new SqlSelect(resultExpr, kgAlias, this.
dominatingExpression
);
1615
SqlExpression resultExpr = new SqlGrouping(elementType, this.typeProvider.From(elementType), keyExpr, ss, this.
dominatingExpression
);
1616
result = new SqlSelect(resultExpr, gselAlias, this.
dominatingExpression
);
1689
this.
dominatingExpression
1717
SqlColumn c = new SqlColumn(agg.ClrType, agg.SqlType, null, null, agg, this.
dominatingExpression
);
1734
this.
dominatingExpression
1773
return new SqlUnary(aggType, clrType, sqlType, exp, this.
dominatingExpression
);
1788
List<SqlExpression> list = values.OfType<object>().Select(v => sql.ValueFromObject(v, elemType, true, this.
dominatingExpression
)).ToList();
1800
return sql.ValueFromObject(false, this.
dominatingExpression
);
1803
return sql.In(expr, list, this.
dominatingExpression
);
1831
SqlSelect sel = new SqlSelect(aref, alias, this.
dominatingExpression
);
1838
SqlSelect sel = new SqlSelect(aref, alias, this.
dominatingExpression
);
1840
sel.Where = sql.Unary(SqlNodeType.Not2V, cond, this.
dominatingExpression
);
1841
return sql.Unary(SqlNodeType.Not, ss, this.
dominatingExpression
);
1944
return sql.MethodCall(mc.Method, obj, args,
dominatingExpression
);
2378
select.Top = this.sql.ValueFromObject(1, false, this.
dominatingExpression
);
2422
SqlTable tab = sql.Table(metaTable, metaTable.RowType, this.
dominatingExpression
);
2434
sin.OutputKey = new SqlColumn(id.Type, sql.Default(id), id.Name, id, null, this.
dominatingExpression
);
2492
SqlBlock block = new SqlBlock(this.
dominatingExpression
);
2519
return new SqlVariable(id.Type, sql.Default(id), "@id", this.
dominatingExpression
);
2527
return new SqlVariable(typeof(decimal), typeProvider.From(typeof(decimal)), "SCOPE_IDENTITY()", this.
dominatingExpression
);
2530
return new SqlVariable(typeof(decimal), typeProvider.From(typeof(decimal)), "@@IDENTITY", this.
dominatingExpression
);
2549
return new SqlVariable(typeof(decimal), typeProvider.From(typeof(decimal)), "@@ROWCOUNT", this.
dominatingExpression
);
2552
return new SqlVariable(typeof(decimal), typeProvider.From(typeof(decimal)), "@ROWCOUNT", this.
dominatingExpression
);
2620
sql.Binary(SqlNodeType.GT, this.GetRowCountExpression(), sql.ValueFromObject(0, false, this.
dominatingExpression
)),
2687
return new SqlClientArray(arr.Type, this.typeProvider.From(arr.Type), exprs, this.
dominatingExpression
);
2705
return new SqlClientArray(list.Type, this.typeProvider.From(list.Type), exprs, this.
dominatingExpression
);