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