flat3/lodata

Relationship Update Can't Write in Database

mikehsieh0305 opened this issue · 0 comments

Can Update but relationship can't connect
截圖 2023-10-31 下午1 31 24

 private function bindEventFeaturesProperty()
    {
        Lodata::getEntitySet('EventFeatures')
            ->discoverRelationship('Events')
            ->discoverRelationship('EventImages');

        Lodata::getEntityType('EventFeature')
            ->getProperty('geometry_scope')
            ->setType($this->odataTypes['polygon']);
    }

    private function bindEventImagesProperty()
    {
        Lodata::getEntitySet('EventImages')
            ->discoverRelationship('EventFeatures');
    }

Another question when i use remove can't support changed
截圖 2023-10-31 下午1 29 19