을 된 IQueryable을 확인존재
select cast(count(*) as INT) as col_0_0_ from "Parent" parent0_ where exists (select children1_.Id from "Child" children1_ where parent0_.Id=children1_.Parent_id and children1_.Name=? and children1_.Age=?)
인해 SQL CE 4.0의 성능을 관찰로, 내가 선호 즉, 같은 것 :
select cast(count(*) as INT) as col_0_0_ from "Parent" parent0_ join "Child" children1_ on parent0_.Id = children1_.Parent_id where children1_.Name=? and children1_.Age=?
NHibernate에 약하다고 확신하지만, 수많은 시도 후에도 QueryOver 또는 HQL로 되돌리지 않고 테이블에 조인하는 방법을 알아낼 수는 없지만 IQueryable<T>
. 누군가 올바른 방향으로 나를 암시 할 수 있습니까?
fyi, 나는 HQL로 되돌아 갔다. – Maate