linq-to-nhibernate
Linq to nhibernate - find values starting with number
I\'m using Linq to NHibernate and I have a need to find all records with a column (\"BusinessName\") that start with a number.[详细]
2023-02-26 01:41 分类:问答Is it possible to call IQuerable.ToFuture() and IQuerable.Fetch() in same query for NHibernate (>3.0) Linq?
I want to use LINQ to NHibernate for a classic counting/pagination scenario: var query = Session.Query<Entity>().Where(...);[详细]
2023-02-23 07:22 分类:问答Implementing a flexible searching infrastructure using nHibernate
My aim is to implement a quite generic search mechanism. Here\'s the general idea: you can search based on any property of the entity you\'re searching for (for example- by Employee\'s salary, or by D[详细]
2023-02-21 03:57 分类:问答One-to-One association issue, NHProf showing Select N+1 Alert, Changing Criteria to use FetchMode.Join not resolving N+1 problem Any thoughts?
We are facing One-to-One association issue, NHProf showing Select N+1 Alert, Changing Criteria to use FetchMode.Join is not resolving N+1[详细]
2023-02-21 03:11 分类:问答How to use nhibernate ToFuture query with nhibernte linq
Does ToFuture works with nhibernate linq? If so, how开发者_StackOverflow社区 do you use it?Be carefull ToFuture only works if the database driver supports MulitpleQueries. This is only the case in som[详细]
2023-02-21 00:19 分类:问答NHibernate.Linq - How well does it work?
we\'re starting a new project using NHibernate, and considering using NHibernate.Linq (The embedded version in 3.0, not the contrib project). I\'m aware that this is a relatively recent addition. Has[详细]
2023-02-19 15:32 分类:问答XML mapping file for many-to-many relation with NHIbernate
I have a table User, fields : Id, Username I have a table UserGroup, fields : Id, UsergroupName, Code I\'d like assign several Usergroup by user, that\'s mean, I have to have a third table with : Us[详细]
2023-02-19 04:49 分类:问答LINQ provider- mapping an object through an array indexer?
I have a class, LanguageModeration. It contains booleans for a number of languages, showing whether they have been moderated or not. I have implemented an indexer, allowing me to select by an Enum I\'[详细]
2023-02-19 03:16 分类:问答Table with a foreign key
how can I build a table of \"orders\" containing \"IdOrder\", \"Description\" and \"User\"?... the \"User\" field is a reference to the table \"Users\", which has \"IdUser\" and \"Name\". I\'m using r[详细]
2023-02-18 16:09 分类:问答Eager loading multiple child collections within a paged result
I\'ve gone well beyond my NHibernate capabilities, it seems... I\'m trying to load Top10 of a given entity with three child collections, but NHibernate\'s Linq implementation gets me the correct resu[详细]
2023-02-18 13:53 分类:问答