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,
I have the following query: public ICollection<AccountAbsence> GetAccountAbsencesByRosters(WorkRoster[] workRosters)
I have the classic situation Orders/OrderLines. I wanted to fetch some orders and eagerly load the orderslines with an outer join.
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
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
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) && (
I\'ve this Linq query: var query = (from i in session.Query<Photo>() where i.IsApproved == true select i);
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
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?
I have an object graph that looks like this: class A () { int id; IEnumerable<B> bees; } class B() { int id;