Skip to content

Create a consistent relational model API #12846

Description

@AndriySvyryd

Add a new API that allows to configure and read relational mapping information. Adding this abstraction layer would allow to make the mapping more flexible and the implementation more efficient without additional changes to the consumers.

Some examples of queries that would benefit from this:

  • Get all columns for a table
  • Get all entity types mapped to a table
  • Get all properties mapped to a column
  • Get the database object that a navigation/relationship is mapped to

New mapping scenarios that this would be allow:

  • Mapping an entity type to more than one table
  • Different relational configuration for properties mapped to more than one column
  • Different mapping for migrations, query and update pipeline

Tasks:

  • Add metadata implementation
  • Port migrations
  • Port update pipeline
  • Port query

Activity

  1. self-assigned this
    on Jul 31, 2018
  2. added this to the 3.0.0 milestone on Aug 1, 2018
  3. modified the milestones: 3.0.0, Backlog on Jan 23, 2019
  4. removed this from the Backlog milestone on Nov 18, 2019
  5. 24 remaining items

  6. modified the milestones: 5.0.0, on Mar 13, 2020
  7. modified the milestones: , 5.0.0 on Nov 7, 2020
  8. added theissue type on Jun 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions