linq-to-nhibernate
Creating Dynamic Fetch Expression
I have an object graph like this. I would like to dynamically build fetch expression in Linq to NHibernate so that I get all object graph in one SQL call,[详细]
2023-03-27 17:50 分类:问答NHibernate Linq cannot call a regular method that returns an IQueryable<T>
I have the following query: public ICollection<AccountAbsence> GetAccountAbsencesByRosters(WorkRoster[] workRosters)[详细]
2023-03-27 07:29 分类:问答Eagerly fetch multiple collection: differences between QueryOver and Query
I have the classic situation Orders/OrderLines. I wanted to fetch some orders and eagerly load the orderslines with an outer join.[详细]
2023-03-26 18:39 分类:问答Calling Fetch in NH 3.1 ignores Skip and Take
We have a query we\'re attempting to write for paging, where we want to use Fetch to eager load a collection for an object, then return a paged list of that object.The query below does not work becaus[详细]
2023-03-26 13:40 分类:问答NHibernate.QueryException with what appears to be a simple query expression
We\'re attempting to implement the specification pattern in our DAL but are running into some problems.It appears that NHibernate is unable to transform the expression into something usable, but I\'m[详细]
2023-03-24 12:25 分类:问答Linq ISNULL functionality
i have a query in SQL Declare @Id Int set @UserName = Null set @FullName = Null Select * from tblPermission where (UserName= @UserName OR @UserName IS NULL) && ([详细]
2023-03-23 19:12 分类:问答Linq to NHibernate and sub-object query
I\'ve this Linq query: var query = (from i in session.Query<Photo>() where i.IsApproved == true select i);[详细]
2023-03-23 12:43 分类:问答nHibernate , Linq Operand Exception
I m getting the error \'Operator \'=\' incompatible with operand types \'Boolean\' and \'String\'\' when i m trying to filtering the data 开发者_StackOverflow社区in the grid with datetime column. i m[详细]
2023-03-20 07:43 分类:问答Inner join fetch in Linq query
Is it possibl开发者_StackOverflow中文版e to modify a query (or the mapping) so that the call to the .Fetch() extension method of NHibernate results in a inner join in the generated SQL query?[详细]
2023-03-19 00:47 分类:问答Multi-table NHibernate query
I have an object graph that looks like this: class A () { int id; IEnumerable<B> bees; } class B() { int id;[详细]
2023-03-17 05:59 分类:问答