25 references to Attributes
System.Data.Entity (25)
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQuery.cs (4)
100foreach (MemberPath value in this.Attributes) 157if (!x.Attributes.SetEquals(y.Attributes)) 170foreach (MemberPath member in q.Attributes)
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryProcessor.cs (7)
51HashSet<MemberPath> attributes = new HashSet<MemberPath>(q1.Attributes); 52attributes.IntersectWith(q2.Attributes); 77HashSet<MemberPath> attributes = new HashSet<MemberPath>(q1.Attributes); 78attributes.IntersectWith(q2.Attributes); 87return FragmentQuery.Create(qA.Attributes, BoolExpression.CreateAndNot(qA.Condition, qB.Condition)); 125if ((false == view.Attributes.Contains(conditionMember)) 149newProjectedAttributes.UnionWith(view.Attributes);
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (9)
536if (FindRewritingAndUsedViews(memberConditionQuery.Attributes, memberConditionQuery.Condition, outputUsedViews, out caseRewriting)) 831Debug.Assert(toFill.Query.Attributes.Count > 0, "Query has no attributes?"); 862toFillQuery = FragmentQuery.Create(toFillQuery.Attributes, BoolExpression.CreateAndNot(toFillQuery.Condition, rewriting.Query.Condition)); 874if (toFillQuery.Attributes.Count == 0) 884foreach (MemberPath attribute in NonKeys(toFillQuery.Attributes)) 897foreach (MemberPath attribute in NonKeys(toFillQuery.Attributes)) 924Debug.Assert(toFill.Query.Attributes.Count == 0, "This method is used for attribute-less queries only"); 950foreach (MemberPath projectedAttribute in NonKeys(view.Attributes)) 963foreach (MemberPath projectedAttribute in NonKeys(view.Attributes))
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (4)
391if (x.FragmentQuery.Attributes.Count > y.FragmentQuery.Attributes.Count) 395else if (x.FragmentQuery.Attributes.Count < y.FragmentQuery.Attributes.Count)
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (1)
441FragmentQuery cNodeQuery = FragmentQuery.Create(pNode.RightFragmentQuery.Attributes, endCondition);