I have two separate queries that both return the same IQueryable, and I\'d like to combine them prior to projection.It looks like neither Union or Concat are implemented in Linq to NHibernate?Does any
so here\'s the code with irrelevant bits left out: public IEnumerable<T> GetByQuery(Expression<Func<T, bool>> filter
I added some calculated read-only properties to my class and it\'s now throwing a QueryException: could not resolve property.
In my repository I have: public IQueryable<ICustomer> GetByAddress(string address) { return from c in GetSession().Linq<ICustomer>()
Querying child collections has been a recurring issue in our applications where we use NHibernate (via LINQ).I want to figure out how to do it right.I just tried forever to get this query to work effi
I\'m trying to create a query using linq 2 nhibernate which generate a sql like: select * from table where id in (1, 2, 3, 4)
I\'m using ActiveRecord and LinqToActiveRecord to query my database. The problem is, that the generated SQL statement from my LINQ expressi开发者_Go百科on always tries to select all possible fields, i
I\'m trying to perform an \"in\" query on a collection of id objects (implemented as a simple class with two integer id members) which a开发者_运维问答re mapped as composite-keys and I\'m seeing some
I\'m using FluentNHibernate and Linq To Nhibernate, with these entities (only the relevant parts): public class Player : BaseEntity<Player>
I first try and pull the customer from the db, but if my customer doesn\'t exist, then i make a sql call another db on the server to get the information.I\'d like to then save the customer info in my