2 instantiations of SqlDiscriminatedType
System.Data.Linq (2)
SqlClient\Common\SqlFactory.cs (1)
313
return new
SqlDiscriminatedType
(typeProvider.From(typeof(Type)), discriminator, targetType, discriminator.SourceExpression);
SqlClient\Query\SqlDuplicator.cs (1)
435
return new
SqlDiscriminatedType
(dt.SqlType, this.VisitExpression(dt.Discriminator), dt.TargetType, dt.SourceExpression);
29 references to SqlDiscriminatedType
System.Data.Linq (29)
SqlClient\Common\SqlVisitor.cs (2)
218
result = this.VisitDiscriminatedType((
SqlDiscriminatedType
)node);
597
internal virtual SqlExpression VisitDiscriminatedType(
SqlDiscriminatedType
dt) {
SqlClient\Query\SqlBinder.cs (6)
348
SqlDiscriminatedType
leftDt = bo.Left as
SqlDiscriminatedType
;
349
SqlDiscriminatedType
rightDt = bo.Right as
SqlDiscriminatedType
;
375
SqlDiscriminatedType
dt = (
SqlDiscriminatedType
)typeExpression;
SqlClient\Query\SqlComparer.cs (4)
172
SqlDiscriminatedType
dt1 = (
SqlDiscriminatedType
)node1;
173
SqlDiscriminatedType
dt2 = (
SqlDiscriminatedType
)node2;
SqlClient\Query\SqlDuplicator.cs (1)
434
internal override SqlExpression VisitDiscriminatedType(
SqlDiscriminatedType
dt) {
SqlClient\Query\SqlExpander.cs (5)
314
SqlDiscriminatedType
sdt0 = (
SqlDiscriminatedType
)exprs[0];
318
SqlDiscriminatedType
sdtN = (
SqlDiscriminatedType
)exprs[i];
324
return factory.DiscriminatedType(this.ExpandTogether(foos), ((
SqlDiscriminatedType
)exprs[0]).TargetType);
SqlClient\Query\SqlFlattener.cs (2)
222
SqlDiscriminatedType
dt = (
SqlDiscriminatedType
)expr;
SqlClient\Query\SqlFormatter.cs (1)
334
internal override SqlExpression VisitDiscriminatedType(
SqlDiscriminatedType
dt) {
SqlClient\Query\SqlRemoveConstantOrderBy.cs (1)
28
expr = ((
SqlDiscriminatedType
)expr).Discriminator;
SqlClient\Reader\ObjectReaderCompiler.cs (7)
436
return CanBeCompared(((
SqlDiscriminatedType
)node).Discriminator);
598
SqlDiscriminatedType
dt1 = (
SqlDiscriminatedType
)node1;
599
SqlDiscriminatedType
dt2 = (
SqlDiscriminatedType
)node2;
764
return this.GenerateDiscriminatedType((
SqlDiscriminatedType
)node);
1975
private Type GenerateDiscriminatedType(
SqlDiscriminatedType
dt) {