예제 #1
0
 public NhQueryable(ISessionImplementor session, object collection)
     : base(QueryProviderFactory.CreateQueryProvider(session, collection))
 {
     EntityName = typeof(T).FullName;
 }
예제 #2
0
 // This constructor is called by our users, create a new IQueryExecutor.
 public NhQueryable(ISessionImplementor session)
     : base(QueryProviderFactory.CreateQueryProvider(session))
 {
 }
예제 #3
0
 // This constructor is called by our users, create a new IQueryExecutor.
 public NhQueryable(ISessionImplementor session, string entityName)
     : base(QueryProviderFactory.CreateQueryProvider(session, null))
 {
     EntityName = entityName;
 }