nhibernate-criteria
Criteria building in GORM
if (params.filters) { def o = JSON.parse(params.filters); def groupOp = o.groupOp def fields = o.rules.field[详细]
2023-03-13 01:30 分类:问答Help with conditional projection queries
I have a requirement wherein I need to display a list of employees and their roles. So if the role of the employee is Accounting, I want to display FirstName and LastName of that employee. Below is my[详细]
2023-03-12 17:54 分类:问答Dynamic Data Querying using Entity Framework (EF)
I would like to hear some feedback on a scenario that I am trying to implement. I have currently implemented this scenario using Criteria API for NHibernate and was wondering if there was anything sim[详细]
2023-03-08 04:33 分类:问答NHibernate 3 and Future with Lazy Load
I\'ve got an entity Reminder which contains a collection of Schedules (see the mapping here). I didn\'t want my collection Schedules to be lazy loaded so I set the attribute to false:[详细]
2023-03-07 01:59 分类:问答how to get id of entity using nhibernate createcriteria
Newbie Alert I am trying to check if an entity exis开发者_开发知识库ts in the database, if it does i want to update it else create a new entity. But CreateCriteria use always returns an entity with no[详细]
2023-03-02 04:02 分类:问答nhibernate criteria projection results in inefficient queries
Please see the following example which is a very simplified version of my code: Dim Criteria = Session.CreateCriteria(Of Person)()[详细]
2023-03-01 07:36 分类:问答How to resolve poor nHibernate collection initialization
nHibernate3; retrieving 4xxx records out of an EAV data schema. When nHibernate, or .NET, goes to initialize those collections for the first time, we\'re seeing a severe penalty. Subsequent calls appe[详细]
2023-02-25 00:03 分类:问答NHibernate Hierarchichal data fetching with single query
I have a table in DB where columns are like below. IdNamePublisherParentId ------------------------------------------[详细]
2023-02-22 11:46 分类:问答Criteria API and left join on a dictionary/map
I have the following classes: public class Item { public int Id { get; set; } public IDictionary<int, ItemLocal> { get; protected set; }[详细]
2023-02-20 14:28 分类:问答nhibernate criteria, like on words
I want to do this with a nhibernate criteria: SELECT Text FROM Table WHERE Text Like \'Re% Wi%\' The result should be:[详细]
2023-02-20 06:23 分类:问答