NHibernate Forge
The official new home for the NHibernate for .NET community

Browse Wiki Pages by Tags

Showing related tags and posts for the Wikis application. See all tags in the site
  • Mapping tables

    I'm new to NHibernate, So I'm not sure if I this is even the place to ask questions. But here goes. This is my problem: I am building a website using Orchard CMS. All the Orchard tables are mapped by NHibernate. I also have tables in the same database that are NOT mapped by NHibernate. These...
    Posted to How to by oceantrain on 11-23-2011
    Filed under: , , , ,
  • Mapping the same class to a view and a table using entity-name

    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...
    Posted to How to by John Davidson on 09-07-2011
    Filed under: , , ,
  • Finding Dirty Properties in NHibernate

    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...
    Posted to How to by Ricardo Peres on 06-20-2011
    Filed under: ,
  • Architecture

    Wiki extracted from the 2.0 Reference Documentation Overview A (very) high-level view of the NHibernate architecture: This diagram shows NHibernate using the database and configuration data to provide persistence services (and persistent objects) to the application. We would like to show a more detailed...
    Posted to NHibernate 2.0 by Groxx on 02-23-2011
    Filed under: , ,
  • Keeping Entity State Over Multiple NHibernate Sessions

    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...
    Posted to How to by nadavsof on 09-11-2010
    Filed under: , , ,
  • CurrentSessionContext for Desktop development

    I have used current session contexts in web applications with the ManagedWebContext class. I wanted to get this working in a non-asp.net environment though. And I wanted to keep the UI responsive, which means pushing as much as possible to the background. I took a queue from Jeremy Miller's article...
    Posted to How to by Jason Meckley on 11-06-2009
    Filed under: , ,
  • Get Started

    This article give you a guide on how to setup NHibernate.Burrow framework for you project. Configration setting in the Config file: 1: < configSections > 2: < section name ="NHibernate.Burrow" type ="NHibernate.Burrow.Configuration.NHibernateBurrowCfgSection, NHibernate.Burrow"...
    Posted to Burrow by Dario Quintana on 11-26-2008
    Filed under: , , , ,
  • Context Sessions

    Most applications using NHibernate need some form of "contextual" sessions, where a given session is in effect throughout the scope of a given context. However, across applications the definition of what constitutes a context is typically different; and different contexts define different scopes...
    Posted to NHibernate 2.0 by Fabio Maulo on 08-31-2008
    Filed under: ,
Page 1 of 1 (8 items)
Powered by Community Server (Commercial Edition), by Telligent Systems