Skip to content

Referencing properties of a composite-id in Linq causes unnecessary joins. #3628

Closed as not planned
@jeff-hagen

Description

@jeff-hagen

The below query will cause the Fkey table to be inner joined.

session.Query<Something>().Where(x => x.Fkey.CompositeId.Property == 3).ToList()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions