1 write to _bindingList
System.Data.Entity (1)
System\Data\Objects\ObjectViewEntityCollectionData.cs (1)
65
_bindingList
= new List<TViewElement>(entityCollection.Count);
15 references to _bindingList
System.Data.Entity (15)
System\Data\Objects\ObjectViewEntityCollectionData.cs (15)
68
_bindingList
.Add(entity);
76
get { return
_bindingList
; }
119
_bindingList
.Add(item);
127
return
_bindingList
.Count - 1;
132
TViewElement item =
_bindingList
[index];
150
if (0 <
_bindingList
.Count)
154
foreach (object item in
_bindingList
)
171
removed =
_bindingList
.Remove(item);
194
int oldIndex =
_bindingList
.IndexOf(removedItem);
197
_bindingList
.Remove(removedItem);
216
_bindingList
.Add(addedItem);
221
changeArgs = new ListChangedEventArgs(ListChangedType.ItemAdded,
_bindingList
.Count - 1 /* newIndex*/, -1 /* oldIndex*/);
227
foreach (TViewElement entity in
_bindingList
)
232
_bindingList
.Clear();
236
_bindingList
.Add(entity);