Skip to content

QueryOver throw Could not determine member type from Constant #2801

Open
@pasqualedante

Description

@pasqualedante

if I execute this statement the exception stated in subject is throw:
var jk = session.QueryOver<T>().Where(x => 1 == 1).Take(1);

if I execute this statement via ::Query and not via ::QueryOver all works fine:
var jk = session.Query<T>().Where(x => 1 == 1).Take(1);

This differtent behavior is by design?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions