1 write to _viewData
System.Data.Entity (1)
System\Data\Objects\ObjectView.cs (1)
82
_viewData
= viewData;
27 references to _viewData
System.Data.Entity (27)
System\Data\Objects\ObjectView.cs (27)
83
_listener = new ObjectViewListener(this, (IList)
_viewData
.List, eventDataSource);
110
TElement item =
_viewData
.List[_addNewIndex];
124
_viewData
.Remove(item, true);
147
_viewData
.CommitItemAt(_addNewIndex);
158
get { return
_viewData
.AllowNew && !IsElementTypeAbstract; }
163
get { return
_viewData
.AllowEdit; }
175
_viewData
.EnsureCanAddNew();
181
_addNewIndex =
_viewData
.Add(newItem, true);
191
get { return
_viewData
.AllowRemove; }
278
return
_viewData
.List[index];
293
return
_viewData
.List[index];
306
return !(
_viewData
.AllowNew ||
_viewData
.AllowRemove);
333
index =
_viewData
.Add((TElement)value, false);
336
if (!
_viewData
.FiresEventOnAdd)
353
if (
_viewData
.FiresEventOnClear)
355
_viewData
.Clear();
365
_viewData
.Clear();
382
itemExists =
_viewData
.List.Contains((TElement)value);
398
index =
_viewData
.List.IndexOf((TElement)value);
430
int index =
_viewData
.List.IndexOf(item);
431
bool removed =
_viewData
.Remove(item, false);
434
if (removed && !
_viewData
.FiresEventOnRemove)
452
get { return
_viewData
.List.Count; }
457
((IList)
_viewData
.List).CopyTo(array, index);
472
return
_viewData
.List.GetEnumerator();
522
ListChangedEventArgs changeArgs =
_viewData
.OnCollectionChanged(sender, e, _listener);