6 references to TreatAs
System.Data.Entity (6)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (1)
676
return this.VisitTypeUnary(expression, expression.ResultType, CqtBuilder.
TreatAs
);
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
5019
return exprToTreat.
TreatAs
(TypeHelpers.GetReadOnlyType(typeToTreatTo));
System\Data\Mapping\ViewGeneration\Structures\MemberPath.cs (1)
462
cqt = cqt.
TreatAs
(typeUsage);
System\Data\Objects\ELinq\OrderByLifter.cs (1)
179
DbExpression project = filterLifter.Project(filterBinding.Project(filterBinding.Variable.
TreatAs
(type)));
System\Data\Objects\ELinq\Translator.cs (1)
1282
return operand.
TreatAs
(toType);
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
1940
DbTreatExpression treatProjection = treatBinding.Variable.
TreatAs
(ofTypeExp.OfType);