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
  • Creating a custom id generator for nHibernate

    I originally blogged about this here and here on my blog but Fabio suggested I add these posts to the Forge, so here I am. I have to say I am a little exited to make my first contribution to the Wiki [H]. I will try to add a bit more to them and show some examples that do not use the TableGenerator class...
    Posted to How to by Steve Bohlen on 11-20-2011
    Filed under: FluentNH, IIdentifierGenerator, IPersistentIdentifierGenerator, Mapping, Nhibernate, TableGenerator
  • Checking if an Unloaded Collection Contains Elements

    If you want to know if an unloaded collection in an entity contains elements, or count them, without actually loading them, you need to use a custom query; that is because the Count property (if the collection is not mapped with lazy=”extra” ) and the LINQ Count() and Any() methods force...
    Posted to How to by Ricardo Peres on 11-18-2011
    Filed under: collections, HQL, Nhibernate
  • NHibernate 3 Beginners Guide published

    Note: This post has been cross posted from my own blog at Los Techies. I am very pleased to announce that my book NHibernate 3 Beginners Guide has finally been published. It is a wonderful feeling to finally have a book in my hands that cost me a couple of months of intense work. But I think the result...
    Posted to NHibernate blog by gabriel.schenker on 08-29-2011
    Filed under: NHibernate, NHibernate Documentation
  • .NET type generation for NHibernate mapping collections

    As our users might know, the Devart company has recently released a new version of Entity Developer that supports NHibernate that is intended to provide users with a powerful and convenient visual model designer for NHibernate . When writing templates for generating entity classes for NHibernate models...
    Posted to How to by Igor Ignatov on 08-09-2011
    Filed under: Mapping, Nhibernate, Nhibernate Documentation
  • View the xml generated when mapping by code

    When using mapping by code it may not be 100% obvious what XML is being generated for NHibernate. You have a couple of options, the first option is to tell NHibernate to write all your mappings into the bin folder:- var mapper = new ModelMapper(); mapper.AddMappings(typeof(CmsMeta).Assembly.GetTypes...
    Posted to How to by rippo on 07-26-2011
    Filed under: Mapping by code, Nhibernate
  • Integrating Adobe Flex Applications with NHibernate

    If you are using NHibernate and suddenly find yourself needing to integrate with a Flex client, this article written by Joseph Magly will be helpful. http://www.adobe.com/devnet/flex/articles/flex-nhibernate.html
    Posted to NHibernate blog by Kathleen Erickson on 03-01-2011
    Filed under: NHibernate, WebORB, Flex to dot NET
  • Visual NHibernate – Using Templates

    Visual NHibernate can be customized in many ways. Today we’ll look at the built-in template engine. You can easily create the exact output you need by tweaking the built-in templates or creating new custom templates. Visual NHibernate currently has two built-in templates: The standard NHibernate...
    Posted to NHibernate blog by Gareth Hayter on 02-07-2011
    Filed under: NHibernate, generators, visual nhibernate
  • Loquacious Configuration in NHibernate 3

    [This article was originally published on my personal blog here . I hereby grant myself permission to re-publish it on NHForge.org.] [Code for this article is available on GitHub here .] One of the new features in NHibernate 3 is the addition of a fluent API for configuring NHibernate through code. Fluent...
    Posted to NHibernate blog by James Kovacs on 01-21-2011
    Filed under: NHibernate, fluent configuration
  • NHibernate Bootstrapper: Unit Tests and Project References

    This post is the second one about the NHibernate Bootstrapper. The first is located here . The first post set up the project structure, introduced the generic DAO, and demonstrated the SessionPerRequest implementation in an IHttpModule. This post will factor the reference to NHibernate out of the web...
    Posted to NHibernate blog by John Davidson on 12-05-2010
    Filed under: NHibernate, Criteria, linq
  • NHibernate Spatial 1.0 (Beta 2)

    Extension to NHibernate providing fully integrated GIS programming experience. Connect NHibernate to spatially enabled databases and manipulate geometries in HQL or in .NET code. Read documentation at NH Spatial wiki site . Please submit your bug reports or feature requests to NH issue tracker and support...
    Posted to NHibernate Spatial by Ricardo Stuven on 10-08-2008
    Filed under: spatial, C#, NHibernate, Query, MsSqlSpatial, OpenGIS, OGC, orm, persistence, SQL Server 2008, PostGis, NTS, SQL Server, csharp, GIS
  • NHibernate Spatial 1.0 (Beta 1)

    Update: A newer release is available. NHibernate.Spatial , spatial extensions for NHibernate, allows you to connect NHibernate to a spatially enabled database and manipulate geometries in HQL or in .NET code providing you with a fully integrated GIS programming experience. Read documentation at NH Spatial...
    Posted to NHibernate Spatial by Ricardo Stuven on 09-29-2008
    Filed under: spatial, C#, NHibernate, Query, MsSqlSpatial, OpenGIS, OGC, orm, persistence, SQL Server 2008, PostGis, NTS, SQL Server, csharp, GIS
Page 1 of 10 (200 items) 1 2 3 4 5 Next > ... Last »
Powered by Community Server (Commercial Edition), by Telligent Systems