13 references to RefreshMode
System.Data.Entity (13)
System\Data\Common\EntityUtil.cs (5)
1150
internal static void CheckArgumentRefreshMode(
RefreshMode
refreshMode) {
1152
case
RefreshMode
.ClientWins:
1153
case
RefreshMode
.StoreWins:
1558
static internal ArgumentOutOfRangeException InvalidRefreshMode(
RefreshMode
value) {
1567
return InvalidEnumerationValue(typeof(
RefreshMode
), (int) value);
System\Data\Objects\ObjectContext.cs (8)
1965
public void Refresh(
RefreshMode
refreshMode, IEnumerable collection)
1989
public void Refresh(
RefreshMode
refreshMode, object entity)
2048
private void RefreshEntities(
RefreshMode
refreshMode, IEnumerable collection)
2096
if (
RefreshMode
.StoreWins == refreshMode)
2124
else if ((
RefreshMode
.ClientWins == refreshMode) && (0 < entities.Count))
2162
private int BatchRefreshEntitiesByKey(
RefreshMode
refreshMode, Dictionary<EntityKey, EntityEntry> trackedEntities, EntitySet targetSet, List<EntityKey> targetKeys, int startFrom)
2233
MergeOption mergeOption = (
RefreshMode
.StoreWins == refreshMode ?
2250
Debug.Assert(
RefreshMode
.ClientWins == refreshMode, "StoreWins always becomes unchanged");