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.
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,
I have a system in winforms C#.Net 2.0 with ActiveRecord + NHibernate communicating with a PostgreSQL 9 database.
I am using sqlite in memory db ( connection string is: Data Source=:memory:;Version=3;New=True;) + Castle ActiveRecord, using C#
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
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
Since I felt adventurous the other day I decided compiling ActiveRecord 3 RC 1 with NHibernate 3.2 and see what happens.
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
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
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