mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-20 00:24:26 +01:00
Merge branch 'master' into corestore2_develop
# Conflicts: # CoreStore.podspec # Sources/Info.plist # Sources/Internal/NSManagedObjectContext+Transaction.swift
This commit is contained in:
@@ -191,14 +191,14 @@ public /*abstract*/ class BaseDataTransaction {
|
||||
/**
|
||||
Refreshes all registered objects `NSManagedObject`s in the transaction.
|
||||
*/
|
||||
public func refreshAllObjectsAsFaults() {
|
||||
public func refreshAndMergeAllObjects() {
|
||||
|
||||
CoreStore.assert(
|
||||
self.isRunningInAllowedQueue(),
|
||||
"Attempted to refresh entities outside their designated queue."
|
||||
)
|
||||
|
||||
self.context.refreshAllObjectsAsFaults()
|
||||
self.context.refreshAndMergeAllObjects()
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user