1 instantiation of DbTreatExpression
System.Data.Entity (1)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (1)
1017
return new
DbTreatExpression
(treatType, argument);
20 references to DbTreatExpression
System.Data.Entity (20)
System\Data\Common\CommandTrees\BasicExpressionVisitor.cs (2)
463
/// Visitor pattern method for <see cref="
DbTreatExpression
"/>.
467
public override void Visit(
DbTreatExpression
expression)
System\Data\Common\CommandTrees\DbExpressionVisitor.cs (1)
276
public abstract void Visit(
DbTreatExpression
expression);
System\Data\Common\CommandTrees\DbExpressionVisitor_TResultType.cs (1)
318
public abstract TResultType Visit(
DbTreatExpression
expression);
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (1)
672
public override DbExpression Visit(
DbTreatExpression
expression)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (2)
1002
/// Creates a new <see cref="
DbTreatExpression
"/>.
1014
public static
DbTreatExpression
TreatAs(this DbExpression argument, TypeUsage treatType)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (1)
1029
throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_General_PolymorphicArgRequired(typeof(
DbTreatExpression
).Name));
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (1)
618
public override void Visit(
DbTreatExpression
e)
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
445
public override void Visit(
DbTreatExpression
e)
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (1)
700
public override TreeNode Visit(
DbTreatExpression
e)
System\Data\Mapping\Update\Internal\Propagator.Evaluator.cs (1)
469
public override PropagatorResult Visit(
DbTreatExpression
node)
System\Data\Mapping\Update\Internal\UpdateExpressionVisitor.cs (1)
259
public override TReturn Visit(
DbTreatExpression
expression)
System\Data\Mapping\ViewValidator.cs (1)
470
public override DbExpressionEntitySetInfo Visit(
DbTreatExpression
expression)
System\Data\Query\PlanCompiler\ITreeGenerator.cs (4)
207
private readonly HashSet<
DbTreatExpression
> _fakeTreats = new HashSet<
DbTreatExpression
>();
1661
public override Node Visit(
DbTreatExpression
e)
1940
DbTreatExpression
treatProjection = treatBinding.Variable.TreatAs(ofTypeExp.OfType);
System\Data\SqlClient\SqlGen\Sql8ConformanceChecker.cs (1)
678
public override bool Visit(
DbTreatExpression
expression)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
2590
public override ISqlFragment Visit(
DbTreatExpression
e)