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
  • WCF + NHibernate: Entity Serialization

    I found many examples online covering how to serialize NHibernate entities for use over a WCF channel, while still using lazy and eager loading. In my application, my database models and my SOA models needed to be exactly the same; therefore, I wanted to avoid the use of DTOs. However, none of the examples...
    Posted to How to by awgneo on 01-28-2012
    Filed under: , ,
  • Pre-Generate Lazy Loading Proxies

    Download the latest binaries for NHibernate ProxyGenerators Extract the binaries to your "lib" directory relative to your source files Open a command prompt and navigate the to "bin" directory in your web project. Enter the following command: ..\..\..\lib\bin\net-2.0\NHPG.exe /o:Example...
    Posted to How to by John Davidson on 09-07-2011
    Filed under:
  • Lazy loading - eager loading

    In this article I want to discuss the lazy loading mechanism provided by NHibernate. It is recommended for maximum flexibility to define all relations in your domain as lazy loadable. This is the default behavior of NHibernate since version 1.2. But this can lead to some undesired effects if querying...
    Posted to How to by MarkCranness on 07-08-2011
    Filed under: ,
Page 1 of 1 (3 items)
Powered by Community Server (Commercial Edition), by Telligent Systems