18 references to Count
System.Data.Entity (18)
System\Data\Mapping\ViewGeneration\CqlGenerator.cs (3)
84
get { return m_projectedSlotMap.
Count
+ m_numBools; }
209
int numMembers = m_projectedSlotMap.
Count
;
432
return m_projectedSlotMap.GetMemberPath(slotNum, TotalSlots - m_projectedSlotMap.
Count
);
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (1)
783
for (int memberNum = 0; memberNum < _context.MemberMaps.ProjectedSlotMap.
Count
; memberNum++)
System\Data\Mapping\ViewGeneration\Structures\CellIdBoolean.cs (1)
85
int numBoolSlots = requiredSlots.Length - projectedSlotMap.
Count
;
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (1)
397
int numAlignedSlots = projectedSlotMap.
Count
;
System\Data\Mapping\ViewGeneration\Structures\CellTreeNode.cs (2)
149
int totalSlots = ProjectedSlotMap.
Count
+ NumBoolSlots;
202
int numMembers = ProjectedSlotMap.
Count
;
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (1)
136
Debug.Assert(cellQuery.NumProjectedSlots == ProjectedSlotMap.
Count
,
System\Data\Mapping\ViewGeneration\Structures\MemberProjectionIndex.cs (9)
72
for (int slotNum = 0; slotNum <
Count
; slotNum++)
143
return this.
Count
+ boolIndex;
151
Debug.Assert(slotNum < this.
Count
+ numBoolSlots && slotNum >= this.
Count
, "No such boolean slot");
152
return slotNum - this.
Count
;
160
Debug.Assert(slotNum < this.
Count
+ numBoolSlots, "No such slot in tree");
161
return slotNum < this.
Count
&& this[slotNum].IsPartOfKey;
169
Debug.Assert(slotNum < this.
Count
+ numBoolSlots, "Boolean slot does not exist in tree");
170
return slotNum >= this.
Count
;