Feature parity: Add IQueryTypeConfiguration<TEntity> #11257
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
good first issue
This issue should be relatively straightforward to fix.
help wanted
This issue involves technologies where we are not experts. Expert help would be appreciated.
type-enhancement
Milestone
I really like the addition of the new
IEntityTypeConfiguration<TEntity>
type that allows us self-contained type configuration for code first and if I'm not missing anything, this types allows only entity (i.e. not query types) to be configured.I think ef can provide the same experience for query types as well so I propose adding a new
IQueryTypeConfiguration<TEntity>
with this shape:as well as a new
ApplyConfiguration
overload on theModelBuilder
class like the following:allowing us to write configuration for entity types and query types in a consistent way.
The text was updated successfully, but these errors were encountered: