Skip to content

Clean up default mappings #32853

@AndriySvyryd

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.

Metadata

Metadata

Assignees

Type

No fields configured for Task.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions