You've already forked linux-packaging-mono
Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
parent
e49d6f06c0
commit
536cd135cc
@ -279,7 +279,7 @@ namespace System.Data.Linq {
|
||||
private void ResolveDelete() {
|
||||
Debug.Assert(this.IsDeleted);
|
||||
// If the user is attempting to update an entity that no longer exists
|
||||
// in the database, we first need to [....] the delete into the local cache.
|
||||
// in the database, we first need to sync the delete into the local cache.
|
||||
if (!trackedObject.IsDeleted) {
|
||||
trackedObject.ConvertToDeleted();
|
||||
}
|
||||
@ -287,7 +287,7 @@ namespace System.Data.Linq {
|
||||
// As the object have been deleted, it needs to leave the cache
|
||||
this.Session.Context.Services.RemoveCachedObjectLike(trackedObject.Type, trackedObject.Original);
|
||||
|
||||
// Now that our cache is in [....], we accept the changes
|
||||
// Now that our cache is in sync, we accept the changes
|
||||
this.trackedObject.AcceptChanges();
|
||||
this.isResolved = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user