Skip to content

Clean up default mappings #32853

Closed

Description

@AndriySvyryd

Currently, entityType.GetDefaultMappings() should only be used in a FromSql context. Elsewhere, if the entity type is not mapped to a table, a view, a SqlQuery or a function, an exception should be thrown.

Also, add more tests (particularly negative cases) for FromSql and ToSqlQuery.

Activity

  1. added this to the Backlog milestone on Jan 24, 2024
  2. added theissue type on Jun 15, 2025
  3. changed the issue type fromtoon Jan 5, 2026
  4. modified the milestones: Backlog, 11.0.0 on Jun 9, 2026
  5. added a commit that references this issue on Jun 11, 2026
    33d476d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions