NHibernate Forge
The official new home for the NHibernate community

Browse Wiki Pages by Tags

Showing related tags and posts for the How to wiki. See all tags in the site
  • Prefent NHibernate from saving default relations

    Let's take a look at the following code: public class TaxCalculator { public static readonly TaxCalculator NoTax = new TaxCalculator("No Tax", 0.0); public TaxCalculator() { } public TaxCalculator(String name, Double percentage) { this.Name = name; this.Percentage = percentage; } public...
    Posted to How to by dnperfors on 07-01-2009
    Filed under: , ,
  • Creating an Audit Log using NHibernate Events

    Scenario You want to create an audit table so that changes to business entities are tracked with a timestamp. You want this do be done automatically by NHibernate. Options There are a number of ways of doing this, using IInterceptor or the NHibernate 2.0 Event model. As the event model is fairly new...
    Posted to How to by bunceg on 02-28-2009
    Filed under: , ,
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems