Пример #1
0
        public static Type GetRootType(this IQueryOver queryOver)
        {
            queryOver.ShouldNotBeNull("queryOver");

            return(queryOver.GetRootCriteria().GetRootType());
        }
Пример #2
0
 public static Type GetRootType <T>(this IQueryOver <T, T> queryOver)
 {
     return(queryOver.GetRootCriteria().GetRootType());
 }
Пример #3
0
 /// <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());
 }