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

Browse Site by Tags

Showing related tags and posts across the entire 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: FluentNH, lazy loading, Nhibernate
  • 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
  • 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: lazy loading, query
  • NH2.1.0: Reference to Castle removed

    The NH trunk do no longer have dependency from Castle project; Castle.DynamicProxy2 are now only the default option. All dependency to Castle was moved to : NHibernate.ProxyGenerators.CastleDynamicProxy To continue working using lazy-loading, exactly as before, now you must deploy the default proxy generator...
    Posted to NHibernate blog by Fabio Maulo on 10-11-2008
    Filed under: proxy, lazy loading, ProxyGenerators, NHibernate, Deploy, Castle, NH2.1
  • NHibernate ProxyGenerators 1.0.0 Beta Released

    I am pleased to announce the release of NHibernate ProxyGenerators 1.0.0 Beta.  This release uses NHibernate 2.0.1 GA, allows you to specify a dialect to use when generating proxies (thank you Jaroslav Martásek), and includes example usage with ActiveRecord.  Please visit NHForge.org for downloads...
    Posted to NHibernate blog by Bill Pierce on 10-07-2008
    Filed under: proxy, lazy loading
  • Introducing NHibernate ProxyGenerators

    I am pleased to announce the first release of NHibernate ProxyGenerators , the latest addition to the NHibernate Contrib project.  NHibernate ProxyGenerators (NHPG)  is a simple utility that you can use to pre-generate lazy loading proxies for use with NHibernate.  Why would you want to...
    Posted to NHibernate blog by Bill Pierce on 09-23-2008
    Filed under: proxy, lazy loading, ProxyGenerators
  • Eager loading aggregate with many child collections

    In a comment to my post on lazy loading versus eager loading which you can find here I have been asked whether NHibernate 2.0 can now eagerly load an aggregate where the root has more than one child collection. The answer is yes but ... Let's discuss it with a sample. Imagine having the following...
    Posted to NHibernate blog by gabriel.schenker on 09-06-2008
    Filed under: relation, lazy loading
  • 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 NHibernate blog by gabriel.schenker on 09-06-2008
    Filed under: query, lazy loading
Page 1 of 2 (40 items) 1 2 Next >
Powered by Community Server (Commercial Edition), by Telligent Systems