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())
NSLog.debug.appendln(ERCNNotificationCoordinator.LOG_HEADER + "Snapshot: " + snapshot);
if (snapshot != null) {