2 instantiations of ParameterVar
System.Data.Entity (2)
System\Data\Query\InternalTrees\Command.cs (2)
414
ParameterVar v = new
ParameterVar
(NewVarId(), parameterType, parameterName);
436
ParameterVar v = new
ParameterVar
(NewVarId(), generateReplacementType(oldVar.Type), oldVar.ParameterName);
20 references to ParameterVar
System.Data.Entity (20)
System\Data\Mapping\FunctionImportMappingComposable.cs (1)
196
if (op.Var.VarType == VarType.Parameter && m_viewArguments.TryGetValue(((
ParameterVar
)op.Var).ParameterName, out argNode))
System\Data\Query\InternalTrees\Command.cs (12)
30
private Dictionary<string,
ParameterVar
> m_parameterMap;
60
m_parameterMap = new Dictionary<string,
ParameterVar
>();
389
internal
ParameterVar
GetParameter(string paramName)
409
internal
ParameterVar
CreateParameterVar(string parameterName,
414
ParameterVar
v = new ParameterVar(NewVarId(), parameterType, parameterName);
432
private
ParameterVar
ReplaceParameterVar(
ParameterVar
oldVar, Func<TypeUsage, TypeUsage> generateReplacementType)
436
ParameterVar
v = new ParameterVar(NewVarId(), generateReplacementType(oldVar.Type), oldVar.ParameterName);
453
internal
ParameterVar
ReplaceEnumParameterVar(
ParameterVar
oldVar)
469
internal
ParameterVar
ReplaceStrongSpatialParameterVar(
ParameterVar
oldVar)
System\Data\Query\PlanCompiler\CTreeGenerator.cs (4)
323
private Dictionary<
ParameterVar
, DbParameterReferenceExpression> _addedParams = new Dictionary<
ParameterVar
, DbParameterReferenceExpression>();
582
ParameterVar
paramVar = referencedVar as
ParameterVar
;
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (3)
193
foreach (
var
paramVar in m_command.Vars.OfType<
ParameterVar
>().Where(v => md.TypeSemantics.IsEnumerationType(v.Type) || md.TypeSemantics.IsStrongSpatialType(v.Type)).ToArray())
195
ParameterVar
newVar = md.TypeSemantics.IsEnumerationType(paramVar.Type)