3 writes to Expression
System.Data.Linq (3)
SqlClient\Common\SqlNode.cs (1)
1448
this.
Expression
= expr;
SqlClient\Common\SqlVisitor.cs (1)
308
m.
Expression
= this.VisitExpression(m.Expression);
SqlClient\Query\MethodCallConverter.cs (1)
203
m.
Expression
= this.VisitExpression(m.Expression);
25 references to Expression
System.Data.Linq (25)
SqlClient\Common\SqlVisitor.cs (1)
308
m.Expression = this.VisitExpression(m.
Expression
);
SqlClient\Query\MethodCallConverter.cs (5)
97
return TypeSystem.IsNullableType(m.
Expression
.ClrType) && m.Member.Name == "Value";
101
return TypeSystem.IsNullableType(m.
Expression
.ClrType) && m.Member.Name == "HasValue";
203
m.Expression = this.VisitExpression(m.
Expression
);
205
return sql.UnaryValueOf(m.
Expression
, m.SourceExpression);
208
return sql.Unary(SqlNodeType.IsNotNull, m.
Expression
, m.SourceExpression);
SqlClient\Query\QueryConverter.cs (1)
1762
return this.FindGroupInfo(((SqlMember)expr).
Expression
);
SqlClient\Query\SqlBinder.cs (2)
696
return this.AccessMember(m, this.FetchExpression(m.
Expression
));
948
if (m.
Expression
== exp) {
SqlClient\Query\SqlComparer.cs (2)
120
AreEqual(((SqlMember)node1).
Expression
, ((SqlMember)node2).
Expression
);
SqlClient\Query\SqlDuplicator.cs (1)
182
return new SqlMember(m.ClrType, m.SqlType, (SqlExpression)this.Visit(m.
Expression
), m.Member);
SqlClient\Query\SqlFormatter.cs (1)
743
this.Visit(m.
Expression
);
SqlClient\Query\SqlMethodCallConverter.cs (6)
530
return m.
Expression
.ClrType == typeof(string) && m.Member.Name == "Length";
534
return m.
Expression
.ClrType == typeof(Binary) && m.Member.Name == "Length";
554
if (m.
Expression
.ClrType == typeof(DateTime)) {
573
if (m.
Expression
.ClrType == typeof(DateTimeOffset)) {
590
if (m.
Expression
.ClrType == typeof(TimeSpan)) {
2164
SqlExpression exp = this.VisitExpression(m.
Expression
);
SqlClient\Reader\ObjectReaderCompiler.cs (6)
442
return CanBeCompared(((SqlMember)node).
Expression
);
610
return m1.Member == m2.Member && AreSimilar(m1.
Expression
, m2.
Expression
);
882
this.GenerateExpressionForType(m.
Expression
, m.
Expression
.ClrType);
888
return this.GenerateMethodCall(new SqlMethodCall(m.ClrType, m.SqlType, pi.GetGetMethod(), m.
Expression
, null, m.SourceExpression));