castle-activerecord
Nested UI requiring nested transactions in ActiveRecord
I have a dialog D1 which edits model type M1, and another dialog D2 which edits model type M2.One o开发者_JAVA技巧f the things that M2 contains is a reference to an M1, and so as a convenience to the[详细]
2023-03-24 15:03 分类:问答NHibernate IsUpdateNecessary takes enormous amount of time
My C# 3.5 application uses SQL Server 2008 R2, NHibernate and CastleProject ActiveRecord. The application imports emails to database along with their attachments. Saving of emails and attachments is p[详细]
2023-03-22 06:30 分类:问答Error when using DetachedCriteria for both Count and Findall in Castle Activerecord
Guys, I\'ve got this problem that I searched almost everywhere (maybe I don\'t know the right keyword for it.) I need your help![详细]
2023-03-21 16:24 分类:问答ActiveRecord Linq/NHibernate Linq not building query completely
given this function: Public Function Search(ByVal StartIndex As Integer, _ ByVal MaxResults As Integer, _[详细]
2023-03-20 04:51 分类:问答Castle ActiveRecord: What's the easiest way to see the SQL?
I\'m trying to get Castle ActiveRecord to show me the SQL it generates.The various blogs I\'ve found on this give two alternatives:[详细]
2023-03-20 00:28 分类:问答Enumerate through a DictionaryAdapter passed to OnFlushDirty
I am attempting to use the OnFlushDirty method of a Castle.ActiveRecord object in order to implement generic auditing of changes:[详细]
2023-03-19 02:50 分类:问答How to execute the following SQL-Query using LINQ or HQL
How can I execute the following query using Castle ActiveRecords and LINQ or HQL? SELECT a.id, s.classes, COUNT(p.id), MAX(p.date) AS last, MIN(p.date) AS first[详细]
2023-03-17 10:50 分类:问答LINQ left join using Castle Active Records?
How can I execute a left join using LINQ and Castle Active Records? If tried the following: from account in AccountRecord.Queryable[详细]
2023-03-17 07:42 分类:问答How to distinct select and group with castle active records?
How can I execute开发者_运维技巧 the following SQL-Query using LINQ or HQL? SELECT `year`, `month`, COUNT(code_id)[详细]
2023-03-16 18:02 分类:问答How to create dynamic NHibernate mappings without generating HBM XML files?
I\'m working on a dynamic application with NHibernate. My goal is to create dynamic entities (both class type and mapping xml file) based on some data. For example suppose I want to create a Person en[详细]
2023-03-16 17:53 分类:问答