public function updateForEntity($entityType_)
 {
     $properties = Persistence_Properties::forEntityType($entityType_);
     $name = $properties->collectionName;
     $primaryKey = $properties->collectionPrimaryKey;
     // TODO Migrate schema ...
 }
 /**
  * @see \Components\Persistence_Resource::view() \Components\Persistence_Resource::view()
  *
  * @return \Components\Persistence_View_Mongodb
  */
 public function view($name_, Persistence_Properties $properties_ = null)
 {
     if (null === $properties_) {
         $properties_ = Persistence_Properties::forEntityName($name_);
     }
     if (null === $properties_) {
         $properties_ = Persistence_Properties::generic($name_);
     }
     return new Persistence_View_Mongodb($this, $properties_);
 }
 /**
  * @see \Components\Persistence_Resource::view() \Components\Persistence_Resource::view()
  *
  * @return \Components\Persistence_View_Pdo
  */
 public function view($name_, Persistence_Properties $properties_ = null)
 {
     if (null === $properties_) {
         $properties_ = Persistence_Properties::forEntityName($name_);
     }
     if (null === $properties_) {
         Log::debug('persistence/resource/pdo', 'Given argument is not a valid entity name. Continuing with generic properties [%s].', $name_);
         $properties_ = Persistence_Properties::generic($name_);
     }
     return new Persistence_View_Pdo($this, $properties_);
 }