Esempio n. 1
0
 public NhQueryable(ISessionImplementor session, object collection)
     : base(QueryProviderFactory.CreateQueryProvider(session, collection))
 {
     EntityName = typeof(T).FullName;
 }
Esempio n. 2
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;
 }