54 references to Instance
System.Data.Entity (54)
System\Data\Common\CommandTrees\BasicExpressionVisitor.cs (2)
297if(expression.Instance != null) 299VisitExpression(expression.Instance);
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (2)
460DbExpression newInstance = this.VisitExpression(expression.Instance); 461if (!object.ReferenceEquals(expression.Instance, newInstance))
System\Data\Common\CommandTrees\Internal\ExpressionCopier.cs (2)
220DbExpression newInstance = this.VisitExpression(expression.Instance); 221if (!object.ReferenceEquals(expression.Instance, newInstance))
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (2)
521if (e.Instance != null) 523Dump(e.Instance, "Instance");
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
344e.Instance.Accept(this);
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (4)
569if (e.Instance != null) 571inst = this.VisitExpression(e.Instance); 572if (e.Instance.ExpressionKind == DbExpressionKind.VariableReference || 573(e.Instance.ExpressionKind == DbExpressionKind.Property && 0 == inst.Children.Count))
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (8)
423.Where(px => px.Instance.ExpressionKind == DbExpressionKind.VariableReference && 424((DbVariableReferenceExpression)px.Instance).VariableName == booleanColumnFilter.Input.VariableName).ToList(); 539if (expression.Instance.ExpressionKind == DbExpressionKind.VariableReference && 540(((DbVariableReferenceExpression)expression.Instance).VariableName == this.variableName) && 726if (property.Instance.ExpressionKind == DbExpressionKind.VariableReference && 727IsOuterBindingVarRef((DbVariableReferenceExpression)property.Instance)) 814if (property.Instance.ExpressionKind != DbExpressionKind.VariableReference || 815((DbVariableReferenceExpression)property.Instance).VariableName != propertyVariable) { return false; }
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
3991if (propertyRef.Instance != projectExpression.Input.Variable ||
System\Data\Mapping\Update\Internal\Propagator.Evaluator.cs (1)
400PropagatorResult instance = Visit(node.Instance);
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (2)
263ExpressionsCompatible(prop1.Instance, prop2.Instance);
System\Data\Mapping\ViewValidator.cs (1)
348DbExpressionStructuralTypeEntitySetInfo setInfos = VisitExpression(expression.Instance) as DbExpressionStructuralTypeEntitySetInfo;
System\Data\Objects\ELinq\MethodCallTranslator.cs (3)
2648if (rightProjectProjection.Instance != rightProject.Input.Variable || 2688if (lojRight.Instance != crossApply.Input.Variable) 2945if (rename.Instance != project.Input.Variable)
System\Data\Objects\ELinq\Translator.cs (2)
340InitializerMetadata.TryGetInitializerMetadata(property.Instance.ResultType, out initializerMetadata) && 343propertyExpression = property.Instance.Property(ExpressionConverter.KeyColumnName);
System\Data\Query\PlanCompiler\ITreeGenerator.cs (10)
1212if (propertyExpression.Instance.ExpressionKind == DbExpressionKind.Property && 1213Helper.IsEntityType(propertyExpression.Instance.ResultType.EdmType)) 1215EntityType instanceType = (EntityType)propertyExpression.Instance.ResultType.EdmType; 1216DbPropertyExpression instanceExpression = (DbPropertyExpression)propertyExpression.Instance; 1224DbExpression navigationSource = instanceExpression.Instance.GetEntityRef(); 1247PlanCompiler.Assert(e.Instance != null, "Static properties are not supported"); 1257Node instance = VisitExpr(e.Instance); 1265if (e.Instance.ExpressionKind == DbExpressionKind.NewInstance && 1266Helper.IsStructuralType(e.Instance.ResultType.EdmType)) 1271System.Collections.IList propertyOrEndMembers = Helper.GetAllStructuralMembers(e.Instance.ResultType.EdmType);
System\Data\SqlClient\SqlGen\Sql8ConformanceChecker.cs (1)
585return VisitExpression(expression.Instance);
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (7)
397if (expr1.Instance.ExpressionKind != expr2.Instance.ExpressionKind) 402if (expr1.Instance.ExpressionKind == DbExpressionKind.Property) 404return AreMatching((DbPropertyExpression)expr1.Instance, (DbPropertyExpression)expr2.Instance, expr1BindingVariableName, expr2BindingVariableName); 407DbVariableReferenceExpression instance1 = (DbVariableReferenceExpression)expr1.Instance; 408DbVariableReferenceExpression instance2 = (DbVariableReferenceExpression)expr2.Instance;
System\Data\SqlClient\SqlGen\SqlGenerator.cs (5)
2062return first.Property == second.Property && this.Equals(first.Instance, second.Instance); 2307ISqlFragment instanceSql = e.Instance.Accept(this); 2311DbVariableReferenceExpression VariableReferenceExpression = e.Instance as DbVariableReferenceExpression; 4351return GroupByExpressionNeedsInnerQuery(propertyExpression.Instance, inputVarRefName, allowConstants);