Is there a way to get at runtime the number of calls NHibernate is making to the database? I know I can use the NHibernate profiler (NHProf, http://nhprof.com/) to manually view this count while debu
An assembly contains classes like public class CustomPage : Page, ISearchable { [Searchable] public virtual string CustomText { get; set; }
I have a two-step search problem. First I want to see if any matches with the exact search-phrase - and then in step 2 take the generic full-text search across a number of properties.
I am creating a search, where the user can both choose an interval and search on a term in the same go.
I\'d really appreciate some help with a problem I have. Class L holds a collection of R and R holds a collection of Q.
I\'m creating hql and use var queryString = \"from \" + formType.Name; queryString += \" where Id= :t\";
I 开发者_如何学JAVAhave a simple test that runs a query 5000 times. The linq version of the query takes over 3 times the HQL and the cached Linq version is significantly slower than the cached version
I have a one to many, let\'s say company开发者_高级运维-to-employees. I am trying to use [IndexEmbedded] on Employee\'s Company reference, so I can perform a employee query similar to: \"Company.Name:
I am using NHibernate.Search libraries in my project for free text search. Recently when I started getting more than 2100 results, I started getting开发者_高级运维 max parameter length error from SQL
I am querying lucene index via nhibernate.search using code below: var fts = NHibernate.Search.Search.CreateFullTextSession(this._session);