Fire CSLA.NET with Nhibernate

Fire CSLA.NET with Nhibernate

Old forum URL:

mamboer posted on Wednesday, February 04, 2009

    I'm running a c# experimented framework leveraging Csla.Net WITH NHibernate.
    My goal is,with this framework we can build flexible and scalable LOB(Line of business) applications more rapidly basing on Csla.Net and NHibernate.
    The framework was born from a project called 'cslaptrackerfactory',which was developped by some pioneers as a drop in replacement for the standard Csla ProjectTracker.Library.dll.
    It uses NHibernate as the ORM on all DAL tasks,and to manipulate the business layer.

    Since i'm not so experienced at framework design,any contributors are wanted.

    U can access the framework through svn from CslaRepository,mail me if you wanna contribute.


mamboer replied on Thursday, February 05, 2009

Contact me through cocoayoyo(at)

Philip replied on Thursday, February 05, 2009


I have downloaded your project and I think you have done a great job. We are currently working at Eurowise to create NHIbernate templates for Code Complete and we have not yet decided on a "pattern" to use. Yours looks as a good option but, at first sight,  looks complicated to use for Code Generation. AM I wrong in assuming that?



mamboer replied on Thursday, February 05, 2009

Do you mean generating NH mapping files or BO?
For the former,It seems that FluentNhibernate will do the right job.For the latter,we can write a Codesmith template to generate appropriate business objects.

Copyright (c) Marimer LLC