CSLA with nhibernates

CSLA with nhibernates

Old forum URL: forums.lhotka.net/forums/t/12319.aspx


Narvesh posted on Monday, January 20, 2014

can we use nhibernates with csla and if yes than how can it be done

JonnyBee replied on Monday, January 20, 2014

CSLA has no specific reuirements to a certain Data Access framework so yes, you can use NHibernate.

I would recommend that you use NHibernate as Data Access Layer. My opinion I to use NHibernate in the same way as Entitiy Framework or Linq2Sql  and have separate "contract" objects/models on the Data Access.

There is an old sample project in CslaContrib that uses NHibernate that you may want to look at: 'http://cslacontrib.codeplex.com/SourceControl/latest#branches/2010.11.001/ProjectTrackerNHibernate/ 

Narvesh replied on Thursday, January 23, 2014

thanks for the reply. but the link you have given  is not working

Copyright (c) Marimer LLC