-
The Scenario You have a single class which you must map to both a table and a database view (or perhaps another table). The view is returning records from the table itself, usually filtered, and the view may have more or less columns than the table. A more practical example is a multi tenant database...
-
UPDATE: now deals properly with proxies. The following extension methods to ISession allow finding if a property or entity has changed, and the original value of a property. public static class SessionExtensions { public static Boolean IsDirtyEntity(this ISession session, Object entity) { ISessionImplementor...
-
Why would you want to use this source? You'll want to use this source if your using NHibernate and need your entities to maintain their state through long conversations, over multiple NHibernate sessions. You might also want to use it if you want built in auditing power and general state oriented...
-
Nearly all of the features listed here are described more fully in the document: NHibernate - Relational Persistence for Idiomatic .NET http://nhforge.org/doc/nh/en/index.html Numerous databases supported SQL Server (2000, 2005, 2008, Express, CE) Oracle (9i, 10g, 11g) DB2, Firebird, Informix, MySQL...