We're updating the issue view to help you get more done. 

DomainObjectQueryGenerator uses root type for eager fetch queries instead of respective property type

Description

DomainObjectQueryGenerator.CreateEagerFetchQueries should use the ReleationEndPoint's property type to close CreateSequenceQuery instead of the original type parameter.

Without this bugfix, it is not possible to correctly reflect the queries in RmdbsProvider.ExecuteCollectionQuery.

Note: the unit tests in DomainObjectQueryGeneratorTest use a stub for ISqlQueryGenerator that is also missing the selectedEntityType, giving a result that does not match the real world execution of the DomainObjectQueryGenerator

Status

Assignee

Michael Ketting

Reporter

Michael Ketting

Labels

None

Time tracking

3h

Components

Fix versions

Affects versions

Priority

Normal
Configure