System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (14)
1672/// Creates a new <see cref="DbPropertyExpression"/> representing the retrieval of the specified property.
1679public static DbPropertyExpression Property(this DbExpression instance, EdmProperty propertyMetadata)
1685/// Creates a new <see cref="DbPropertyExpression"/> representing the retrieval of the specified navigation property.
1692public static DbPropertyExpression Property(this DbExpression instance, NavigationProperty navigationProperty)
1698/// Creates a new <see cref="DbPropertyExpression"/> representing the retrieval of the specified relationship end member.
1705public static DbPropertyExpression Property(this DbExpression instance, RelationshipEndMember relationshipEnd)
1711/// Creates a new <see cref="DbPropertyExpression"/> representing the retrieval of the instance property with the specified name from the given instance.
1718public static DbPropertyExpression Property(this DbExpression instance, string propertyName)
1723private static DbPropertyExpression PropertyFromMember(DbExpression instance, EdmMember property, string propertyArgumentName)
1729private static DbPropertyExpression PropertyByName(DbExpression instance, string propertyName, bool ignoreCase)
2218/// <code>outer.Join(inner, o => o.Property("ID"), i => i.Property("ID"), (o, i) => o.Property("Name"))</code> (<typeparamref name="TSelector"/> is <see cref="DbPropertyExpression"/>).
2364/// <code>source.Select(x => x.Property("Name"))</code> (<typeparamref name="TProjection"/> is <see cref="DbPropertyExpression"/>).
2433/// <code>source.SelectMany(x => x.Property("RelatedCollection"), (source, apply) => apply.Property("Name"))</code> (<typeparamref name="TSelector"/> is <see cref="DbPropertyExpression"/>).
2848internal static DbPropertyExpression CreatePropertyExpressionFromMember(DbExpression instance, EdmMember member)
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (21)
137IList<DbPropertyExpression> sortExpressions = new List<DbPropertyExpression>(e.SortOrder.Count);
143sortExpressions.Add((DbPropertyExpression)sortClause.Expression);
208private DbExpression TransformIntersectOrExcept(DbExpression left, DbExpression right, DbExpressionKind expressionKind, IList<DbPropertyExpression> sortExpressionsOverLeft, string sortExpressionsBindingVariableName)
216IList<DbPropertyExpression> leftFlattenedProperties = new List<DbPropertyExpression>();
217IList<DbPropertyExpression> rightFlattenedProperties = new List<DbPropertyExpression>();
298private void FlattenProperties(DbExpression input, IList<DbPropertyExpression> flattenedProperties)
307DbPropertyExpression propertyExpression = propertyInput.Property(properties[i]);
337private static bool RemoveNonSortProperties(IList<DbPropertyExpression> list1, IList<DbPropertyExpression> list2, IList<DbPropertyExpression> sortList, string list1BindingVariableName, string sortExpressionsBindingVariableName)
362private static bool HasMatchInList(DbPropertyExpression expr, IList<DbPropertyExpression> list, string exprBindingVariableName, string listExpressionsBindingVariableName)
390private static bool AreMatching(DbPropertyExpression expr1, DbPropertyExpression expr2, string expr1BindingVariableName, string expr2BindingVariableName)
404return AreMatching((DbPropertyExpression)expr1.Instance, (DbPropertyExpression)expr2.Instance, expr1BindingVariableName, expr2BindingVariableName);
422private DbExpressionBinding CapWithProject(DbExpressionBinding inputBinding, IList<DbPropertyExpression> flattenedProperties)
429foreach (DbPropertyExpression pe in flattenedProperties)