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