I have the following nhibernate linq query and it throws a null reference exception promotions = (from a in session.Query<Application>()
i\'m t开发者_StackOverflow中文版rying to upgrade an old CMS to use NHibernate and can\'t deter from the original database structure much. Here is the bit which is causing an issue. Say i have the foll
I have a repository with the following method: IEnumerable<T> FindAll<TRelated>(Specification<T> specification,
I\'m using SharpArch, i extended the Repository adding this methods : public IQueryable<T> FindAll(Expression<Func<T, bool>> expression)
I\'m having a class foo like foo { Dictionary<string, Blubb> blubbDict {get;set;} Dictionary<Bar, string> barDict {get;set;}
I have a problem with using the nHibernate Fetch() (or FetchMany()) method with my paging method which uses Futures to get the information it needs. And I\'m not sure how to fix it but I know exactly
I\'m using NHibernate 3.1.0 and I\'m trying to extend the LINQ provider by using BaseHqlGeneratorForMethod and extending the DefaultLinqToHqlGeneratorsRegistry as explained in Fabio\'s post.
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\'ve a problem with this linq to nhibernate query var listeShopping = (from cart in session.Query<Cart>()
This is for a M:N relationship, with the collection being mapped in NHibernate as a Set. The criteria query we were using previously \"worked\" but it did not populate the Skills collection properly,