-
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) { String className = NHibernateProxyHelper.GuessClass...
-
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...