Skip to content

Create a consistent relational model API #12846

@AndriySvyryd

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions