2 writes to _propertyStrategy
System.Data.Entity (2)
System\Data\Objects\Internal\EntityWrapper.cs (2)
170
_propertyStrategy
= propertyStrategy(entity);
203
_propertyStrategy
= propertyStrategy(entity);
15 references to _propertyStrategy
System.Data.Entity (15)
System\Data\Objects\Internal\EntityWrapper.cs (15)
245
if (
_propertyStrategy
!= null)
247
_propertyStrategy
.CollectionAdd(relatedEnd, value);
253
return
_propertyStrategy
!= null ?
_propertyStrategy
.CollectionRemove(relatedEnd, value) : false;
259
if (
_propertyStrategy
!= null)
261
object collection =
_propertyStrategy
.GetNavigationPropertyValue(relatedEnd);
264
collection =
_propertyStrategy
.CollectionCreate(relatedEnd);
265
_propertyStrategy
.SetNavigationPropertyValue(relatedEnd, collection);
273
return
_propertyStrategy
!= null ?
_propertyStrategy
.GetNavigationPropertyValue(relatedEnd) : null;
279
if (
_propertyStrategy
!= null)
281
_propertyStrategy
.SetNavigationPropertyValue(relatedEnd, value);
288
if (
_propertyStrategy
!= null)
290
object currentValue =
_propertyStrategy
.GetNavigationPropertyValue(relatedEnd);
294
_propertyStrategy
.SetNavigationPropertyValue(relatedEnd, null);