74 references to Property
System.Data.Entity (74)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (1)
463result = CqtBuilder.Property(newInstance, expression.Property.Name);
System\Data\Common\CommandTrees\Internal\ExpressionCopier.cs (8)
223if (Helper.IsRelationshipEndMember(expression.Property)) 226if(!TryGetMember(newInstance, expression.Property.Name, out endMember)) 228throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Copier_EndNotFound(expression.Property.Name, TypeHelpers.GetFullName(newInstance.ResultType.EdmType))); 232else if (Helper.IsNavigationProperty(expression.Property)) 235if (!TryGetMember(newInstance, expression.Property.Name, out navProp)) 237throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Copier_NavPropertyNotFound(expression.Property.Name, TypeHelpers.GetFullName(newInstance.ResultType.EdmType))); 244if (!TryGetMember(newInstance, expression.Property.Name, out prop)) 246throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Copier_PropertyNotFound(expression.Property.Name, TypeHelpers.GetFullName(newInstance.ResultType.EdmType)));
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (4)
507RelationshipEndMember end = e.Property as RelationshipEndMember; 512else if (Helper.IsNavigationProperty(e.Property)) 514Dump((NavigationProperty)e.Property, "Property"); 518Dump((EdmProperty)e.Property);
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
346_key.Append(e.Property.Name);
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (3)
576inst.Text.Append(e.Property.Name); 582EdmProperty prop = e.Property as EdmProperty; 589retInfo.Text.Append(e.Property.Name);
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (8)
430List<string> predicateColumnNames = propertyPredicates.Select(px => px.Property.Name).ToList(); 439EdmProperty discriminatorProp = (EdmProperty)((DbPropertyExpression)((DbComparisonExpression)discriminatorPredicates.First().Value).Left).Property; 467comparedProp.Property != discriminatorProp || 496if (!selectorPredicateMap.TryGetValue(propWhen.Property.Name, out discriminatorWhen)) 541this.replacements.TryGetValue(expression.Property.Name, out replacementValue)) 729return m_varRefMemberBindings[property.Property.Name]; 789discriminatorProperty = (EdmProperty)currentDiscriminator.Property; 791else if (discriminatorProperty != currentDiscriminator.Property)
System\Data\Common\CommandTrees\ValueExpressions.cs (1)
259return new KeyValuePair<string, DbExpression>(this.Property.Name, this);
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
3992propertyRef.Property != inputVariableTypeProperties[i])
System\Data\Common\EntitySql\SemanticResolver.cs (1)
796return property.Property.Name;
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (1)
85if (((DbPropertyExpression)setClause.Property).Property.EdmEquals(member))
System\Data\Mapping\Update\Internal\Propagator.Evaluator.cs (1)
410result = instance.GetMemberValue(node.Property);
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (4)
115if (null == discriminatorProperty) { discriminatorProperty = (EdmProperty)currentDiscriminator.Property; } 116else if (discriminatorProperty != currentDiscriminator.Property) { return false; } 262return prop1.Property == prop2.Property &&
System\Data\Mapping\ViewValidator.cs (4)
130if (expression.Property.BuiltInTypeKind != BuiltInTypeKind.EdmProperty) 133_setMapping.Set.Name, expression.Property.Name, expression.Property.BuiltInTypeKind), (int)StorageMappingErrorCode.MappingUnsupportedPropertyKindQueryView, 351return setInfos.GetEntitySetInfoForMember(expression.Property.Name);
System\Data\Objects\ELinq\MethodCallTranslator.cs (5)
661newColumns.Add(new KeyValuePair<string, DbExpression>(propertyExpr.Property.Name, newExpr)); 665newColumns.Add(new KeyValuePair<string, DbExpression>(propertyExpr.Property.Name, propertyExpr)); 2649rightProjectProjection.Property.Name != loj.Right.VariableName || 2692var lojRightValueSource = crossApplyInputRowType.Properties.SingleOrDefault(p => p.Name == lojRight.Property.Name); 2949renames.Add(Tuple.Create((EdmProperty)rename.Property, outerRowType.Properties[i].Name));
System\Data\Objects\ELinq\Translator.cs (1)
339if (property.Property.Name == ExpressionConverter.GroupColumnName && // only know how to unwrap the group
System\Data\Query\InternalTrees\ExplicitDiscriminatorMap.cs (1)
34m_discriminatorProperty = template.Discriminator.Property;
System\Data\Query\PlanCompiler\ITreeGenerator.cs (11)
1217if (Helper.IsNavigationProperty(instanceExpression.Property) && 1218instanceType.KeyMembers.Contains(propertyExpression.Property)) 1222NavigationProperty navigationProperty = (NavigationProperty)instanceExpression.Property; 1227rewritten = rewritten.Property(propertyExpression.Property.Name); 1240if (BuiltInTypeKind.EdmProperty != e.Property.BuiltInTypeKind && 1241BuiltInTypeKind.AssociationEndMember != e.Property.BuiltInTypeKind && 1242BuiltInTypeKind.NavigationProperty != e.Property.BuiltInTypeKind) 1278if (string.Equals(e.Property.Name, ((EdmMember)propertyOrEndMembers[idx]).Name, StringComparison.Ordinal)) 1297Op op = _iqtCommand.CreatePropertyOp(e.Property); 1300instance = BuildSoftCast(instance, e.Property.DeclaringType); 2218newArgs.Add(CreateNewInstanceArgument(_discriminatorMap.Discriminator.Property, _discriminatorMap.Discriminator));
System\Data\SqlClient\SqlGen\DmlSqlGenerator.cs (3)
244HashSet<EdmMember> columnsWithValues = new HashSet<EdmMember>(tree.SetClauses.Cast<DbSetClause>().Select(s => ((DbPropertyExpression)s.Property).Property)); 535EdmMember property = ((DbPropertyExpression)propertyExpression).Property; 601_commandText.Append(GenerateMemberTSql(expression.Property));
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (3)
392if (expr1.Property.Name != expr2.Property.Name) 432string name = pe.Property.Name;
System\Data\SqlClient\SqlGen\SqlGenerator.cs (12)
2062return first.Property == second.Property && this.Equals(first.Instance, second.Instance); 2096return ((DbPropertyExpression)obj).Property.GetHashCode(); 2321Debug.Assert(joinSymbol.NameToExtent.ContainsKey(e.Property.Name)); 2324return new SymbolPair(joinSymbol, joinSymbol.NameToExtent[e.Property.Name]); 2328return joinSymbol.NameToExtent[e.Property.Name]; 2340symbolPair.Column = columnJoinSymbol.NameToExtent[e.Property.Name]; 2348if (symbolPair.Column.Columns.ContainsKey(e.Property.Name)) 2353Symbol columnSymbol = symbolPair.Column.Columns[e.Property.Name]; 2368if (symbol != null && symbol.OutputColumns.TryGetValue(e.Property.Name, out colSymbol)) 2377result.Append(QuoteIdentifier(e.Property.Name)); 2384result.Append(QuoteIdentifier(e.Property.Name));