String entityName = (String)entitiesEnumerator.nextElement();
if (! ERCNSnapshot.shouldSynchronizeEntity(entityName)) continue;
EOEntity entity = EOModelGroup.defaultGroup().entityNamed(entityName);
EODatabaseContext dbContext = ERCNNotificationCoordinator.databaseContextForEntityNamed(entityName, ec);
EODatabase database = dbContext.database();
NSArray snapshots = (NSArray)ercnSnapshot.shapshotsForUpdateGroupedByEntity().objectForKey(entityName);
Enumeration snapshotsEnumerator = snapshots.objectEnumerator();
while (snapshotsEnumerator.hasMoreElements()) {
NSDictionary snapshot = (NSDictionary)snapshotsEnumerator.nextElement();
if (NSLog.debug.isEnabled())