castle-activerecord
How to get the latest object using Castle ActiveRecord
I\'ve got a Table of OrderDetails objects and I\'d like to get OrderNumber of the latest Order in the database i.e. the Order with the highest OrderDetailsID.[详细]
2023-04-07 06:38 分类:问答Castle ActiveRecord Error With View: NHibernate.PropertyNotFoundException for generated key
I\'m mapping a view using ActiveRecord, which means I need a primary key.I don\'t have one, so开发者_JS百科 I\'m using ROW_NUMBER() to create one in the view definition to placate the system. However,[详细]
2023-04-04 19:44 分类:问答NHibernate + ActiveRecord + PostgreSQL = memoryexception
I have a system in winforms C#.Net 2.0 with ActiveRecord + NHibernate communicating with a PostgreSQL 9 database.[详细]
2023-04-04 17:39 分类:问答sqlite inmemory + castle-activerecord = No transaction is active on this connection
I am using sqlite in memory db ( connection string is: Data Source=:memory:;Version=3;New=True;) + Castle ActiveRecord, using C#[详细]
2023-04-01 17:30 分类:问答ActiveRecord with mvc3
I have an application built in MVC3 in C#. Use ActiveRecord 3.0 and NHibernate 3.1 without problems, but I needed to improve the performance and I put in the relationships [HasMany(Lazy=true)] the at[详细]
2023-04-01 16:16 分类:问答Error: Object references an unsaved transient instance
now I\'m building a web application on asp-net using castle active record. When I was trying to save an entity with a has-many relation I got the error: \"object references an unsaved transient instan[详细]
2023-03-30 12:42 分类:问答ActiveRecord 3 RC 1 with NHibernate 3.2 causes an unexpected exception
Since I felt adventurous the other day I decided compiling ActiveRecord 3 RC 1 with NHibernate 3.2 and see what happens.[详细]
2023-03-30 02:49 分类:问答LazyInitializationException after upgrade to IIS 7.5
We develop a ASP.NET 4.0 / MVC 3 web application, using Active Record as database abstraction. To be able to use lazy relations inside views, we are using the SessionScopeWebModule from ActiveRecord[详细]
2023-03-29 12:06 分类:问答Which collection causes the NHibernate exception?
I\'m getting the well known NHibernate exception \"Illegal attempt to associate a collection with two open sessions\". I did research on it, and I understand the cause of it, but my problem is that it[详细]
2023-03-28 14:39 分类:问答NHibernate Mapping Sanity Checks
Currently our new database design is changing rapidly and I don\'t always have time to keep up to date with the latest changes being made. Therefore I would like to create some basic integration tests[详细]
2023-03-26 08:41 分类:问答