public static Type GetRootType(this IQueryOver queryOver) { queryOver.ShouldNotBeNull("queryOver"); return(queryOver.GetRootCriteria().GetRootType()); }
public static Type GetRootType <T>(this IQueryOver <T, T> queryOver) { return(queryOver.GetRootCriteria().GetRootType()); }
/// <summary> /// <paramref name="queryOver"/>가 사용하는 <see cref="ISessionImplementor"/>을 반환합니다. /// </summary> /// <param name="queryOver"></param> /// <returns></returns> public static ISessionImplementor GetSession(this IQueryOver queryOver) { queryOver.ShouldNotBeNull("queryOver"); return(queryOver.GetRootCriteria().GetSession()); }