public function getC2Ms(Criteria $criteria = null, ConnectionInterface $con = null)
    {
        $partial = $this->collC2MsPartial && !$this->isNew();
        if (null === $this->collC2Ms || null !== $criteria  || $partial) {
            if ($this->isNew() && null === $this->collC2Ms) {
                // return empty collection
                $this->initC2Ms();
            } else {
                $collC2Ms = ChildC2MQuery::create(null, $criteria)
                    ->filterByMedia($this)
                    ->find($con);

                if (null !== $criteria) {
                    if (false !== $this->collC2MsPartial && count($collC2Ms)) {
                        $this->initC2Ms(false);

                        foreach ($collC2Ms as $obj) {
                            if (false == $this->collC2Ms->contains($obj)) {
                                $this->collC2Ms->append($obj);
                            }
                        }

                        $this->collC2MsPartial = true;
                    }

                    return $collC2Ms;
                }

                if ($partial && $this->collC2Ms) {
                    foreach ($this->collC2Ms as $obj) {
                        if ($obj->isNew()) {
                            $collC2Ms[] = $obj;
                        }
                    }
                }

                $this->collC2Ms = $collC2Ms;
                $this->collC2MsPartial = false;
            }
        }

        return $this->collC2Ms;
    }