Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relationship Update Can't Write in Database #736

Open
mikehsieh0305 opened this issue Oct 31, 2023 · 0 comments
Open

Relationship Update Can't Write in Database #736

mikehsieh0305 opened this issue Oct 31, 2023 · 0 comments

Comments

@mikehsieh0305
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant