示例#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());
 }