return;
}
//if entity caches objects, clear out the cache
if( entity.cachesObjects() ) {
EODatabaseContext databaseContext = EOUtilities.databaseContextForModelNamed(sharedEC, entity.model().name());
EODatabase database = databaseContext.database();
database.invalidateResultCacheForEntityNamed(entityName);
}
NSArray fetchSpecNames = entity.sharedObjectFetchSpecificationNames();
int count = (fetchSpecNames != null) ? fetchSpecNames.count() : 0;