OData / OData/AspNetCoreOData

How to query SQL view as a ComplexType (read-only) with OData 8.x?

Open
#383 4 comments 0 reactions 2 assignees View on GitHub

@xuzhg is already working on this.

Since Nov 23, 2021.

followup question
Dominant language
C#
Stars
505
Forks
186
PR merge metrics
No merged PRs in 30d

Description

Hi, I would like to use OData to only GET (read-only) data from a SQL view which I have mapped as a ComplexType since there are no keys. I haven't been able to get this to work. The endpoints on my controller only shows when using EntitySet, but I cannot use an EntitySet with the keyless view. Is there some configuration or mapping that I am missing?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.