1 write to Discriminator
System.Data.Linq (1)
SqlClient\Common\SqlVisitor.cs (1)
598
dt.
Discriminator
= this.VisitExpression(dt.Discriminator);
17 references to Discriminator
System.Data.Linq (17)
SqlClient\Common\SqlVisitor.cs (1)
598
dt.Discriminator = this.VisitExpression(dt.
Discriminator
);
SqlClient\Query\SqlBinder.cs (2)
351
return this.VisitExpression(sql.Binary(bo.NodeType, leftDt.
Discriminator
, rightDt.
Discriminator
));
SqlClient\Query\SqlComparer.cs (2)
174
return AreEqual(dt1.
Discriminator
, dt2.
Discriminator
);
SqlClient\Query\SqlDuplicator.cs (1)
435
return new SqlDiscriminatedType(dt.SqlType, this.VisitExpression(dt.
Discriminator
), dt.TargetType, dt.SourceExpression);
SqlClient\Query\SqlExpander.cs (2)
316
foos.Add(sdt0.
Discriminator
);
322
foos.Add(sdtN.
Discriminator
);
SqlClient\Query\SqlFlattener.cs (1)
223
this.FlattenGroupByExpression(exprs, dt.
Discriminator
);
SqlClient\Query\SqlRemoveConstantOrderBy.cs (1)
28
expr = ((SqlDiscriminatedType)expr).
Discriminator
;
SqlClient\Reader\ObjectReaderCompiler.cs (7)
436
return CanBeCompared(((SqlDiscriminatedType)node).
Discriminator
);
600
return AreSimilar(dt1.
Discriminator
, dt2.
Discriminator
);
1978
LocalBuilder locDiscriminator = gen.DeclareLocal(dt.
Discriminator
.ClrType);
1979
this.GenerateExpressionForType(dt.
Discriminator
, dt.
Discriminator
.ClrType);
1982
return this.GenerateDiscriminatedType(dt.TargetType, locDiscriminator, dt.
Discriminator
.SqlType);