Working sample with nHibernate??

Working sample with nHibernate??

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


Devman posted on Tuesday, June 10, 2008

Hi,

I haven't coded with CSLA.NET or nHibernate but the features of both seem ideal for our new dev project.  I have been searching the forums/codeplex and I'm unable to find a fully working example that utilses both of these in tandem. I would greatly appreciate a working sample if anyone has one or knows of one.

Many Thanks

Devman 

JoeFallon1 replied on Tuesday, June 10, 2008

David Dilworth posted a sample solution of Project Tracker using NHibernate last year. You can find it here:

http://www.codeplex.com/CSLAcontrib/SourceControl/ListDownloadableCommits.aspx

Go to page 2 and you can read his comments when he added it to the source.

Joe

 

Devman replied on Wednesday, June 11, 2008

Thanks for the response.

I had downloaded that project previously, but it doesn't have a UI and I have tried to create one without success.  I tried adding the PTWin UI project (from the csla download sample) and hooking it up to access the database(s) directly.  This didn't work and I received a Data Portal Fetch failed exception.

DataPortal.Fetch failed (Could not compile the mapping document: (unknown)).

Now I'm pretty much stuck so any help/sample would be greatly appreciated.

Many thanks

Devman

 

Devman replied on Wednesday, June 11, 2008

Another thing about the codeplex nhibernate sample, I get the same error when i run all the tests on the Test project.  Has anyone got this to work?

Copyright (c) Marimer LLC